summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/leds-omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/leds-omap.h')
-rw-r--r--include/linux/platform_data/leds-omap.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/platform_data/leds-omap.h b/include/linux/platform_data/leds-omap.h
new file mode 100644
index 000000000..dd1a3ec86
--- /dev/null
+++ b/include/linux/platform_data/leds-omap.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (C) 2006 Samsung Electronics
+ * Kyungmin Park <kyungmin.park@samsung.com>
+ */
+#ifndef ASMARM_ARCH_LED_H
+#define ASMARM_ARCH_LED_H
+
+struct omap_led_config {
+ struct led_classdev cdev;
+ s16 gpio;
+};
+
+struct omap_led_platform_data {
+ s16 nr_leds;
+ struct omap_led_config *leds;
+};
+
+#endif