diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2012-11-17 17:57:08 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-11-20 22:21:43 -0800 |
commit | b3a076dd0270507e1976b141a2aa5c53b9b553d1 (patch) | |
tree | 6d258ff4e96763b954c1083a4b24664fc22159d7 /arch/arm/mach-clps711x/common.h | |
parent | 200daa367c59b4952f1e86ed9761859b1bcc3dbd (diff) |
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.h | 3 |
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); |