summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-10-02 23:12:31 +0200
committerTony Lindgren <tony@atomide.com>2012-10-17 21:03:18 +0200
commita8f7445c7b0d2b7a523e521e2d14974804910ad0 (patch)
tree1bdd4f526ecfa6f6fede49ea7b809cd316f65287 /include
parentARM: OMAP: Make plat/common.h local to mach-omap1 and mach-omap2 (diff)
downloadlinux-a8f7445c7b0d2b7a523e521e2d14974804910ad0.tar.xz
linux-a8f7445c7b0d2b7a523e521e2d14974804910ad0.zip
ARM: OMAP: Move plat/led.h to include/linux/platform_data
We need to move this away from plat for ARM common zImage support. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/leds-omap.h22
1 files changed, 22 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 000000000000..56c9b2a0ada5
--- /dev/null
+++ b/include/linux/platform_data/leds-omap.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2006 Samsung Electronics
+ * Kyungmin Park <kyungmin.park@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#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