summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-omap/led.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2006-12-07 13:57:38 -0800
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-08 20:36:25 +0100
commitf4e4c324a5f81f18156499d1ade3732ba1f5b523 (patch)
tree28e454e1263b220dad1f5a747dd96c295cf1fb22 /include/asm-arm/arch-omap/led.h
parent994c84ea526ea1c348f63dc3aa7cfeec931bb612 (diff)
ARM: OMAP: Sync headers with linux-omap
This patch syncs omap specific headers with linux-omap. Most of the changes needed because of bitrot caused by driver changes in linux-omap tree. Integrating this is needed for adding support for various omap drivers. Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-omap/led.h')
-rw-r--r--include/asm-arm/arch-omap/led.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/led.h b/include/asm-arm/arch-omap/led.h
new file mode 100644
index 000000000000..f3acae28e2da
--- /dev/null
+++ b/include/asm-arm/arch-omap/led.h
@@ -0,0 +1,24 @@
+/*
+ * linux/include/asm-arm/arch-omap/led.h
+ *
+ * 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