summaryrefslogtreecommitdiff
path: root/arch/arm/mach-clps711x/common.h
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-11-17 17:57:08 +0400
committerOlof Johansson <olof@lixom.net>2012-11-21 10:21:43 +0400
commitb3a076dd0270507e1976b141a2aa5c53b9b553d1 (patch)
tree6d258ff4e96763b954c1083a4b24664fc22159d7 /arch/arm/mach-clps711x/common.h
parent200daa367c59b4952f1e86ed9761859b1bcc3dbd (diff)
downloadlinux-b3a076dd0270507e1976b141a2aa5c53b9b553d1.tar.xz
ARM: clps711x: p720t: Using "leds-gpio" driver for LED control
Instead of manually create LED class device, we will use "leds-gpio" driver for LED control. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-clps711x/common.h')
-rw-r--r--arch/arm/mach-clps711x/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/common.h b/arch/arm/mach-clps711x/common.h
index fc0f0650dcb5..dc60caea3278 100644
--- a/arch/arm/mach-clps711x/common.h
+++ b/arch/arm/mach-clps711x/common.h
@@ -4,6 +4,9 @@
* Common bits.
*/
+#define CLPS711X_NR_GPIO (4 * 8 + 3)
+#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
+
struct sys_timer;
extern void clps711x_map_io(void);