diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 18:06:48 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-21 09:27:03 -0500 |
commit | b1d8a5f91796179f33de9cd7fb26052fcc47b4fa (patch) | |
tree | 0829a261bc6c30993f81fd9df9a78c10ff729cd7 /arch/arm/mach-sa1100/include | |
parent | 3b61436a792517848ee386bd2ccf4fc3a75f1a0f (diff) |
PCMCIA: sa11x0: simpad: convert to use new irq/gpio management
Convert Simpad socket driver to use the new irq/gpio management.
This is slightly more involved because we have to touch the private
platform header file to modify the GPIO bitmasks to be GPIO numbers.
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/include')
-rw-r--r-- | arch/arm/mach-sa1100/include/mach/simpad.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/simpad.h b/arch/arm/mach-sa1100/include/mach/simpad.h index db28118103eb..cdea671e8931 100644 --- a/arch/arm/mach-sa1100/include/mach/simpad.h +++ b/arch/arm/mach-sa1100/include/mach/simpad.h | |||
@@ -39,10 +39,8 @@ | |||
39 | 39 | ||
40 | 40 | ||
41 | /*--- PCMCIA ---*/ | 41 | /*--- PCMCIA ---*/ |
42 | #define GPIO_CF_CD GPIO_GPIO24 | 42 | #define GPIO_CF_CD 24 |
43 | #define GPIO_CF_IRQ GPIO_GPIO1 | 43 | #define GPIO_CF_IRQ 1 |
44 | #define IRQ_GPIO_CF_IRQ IRQ_GPIO1 | ||
45 | #define IRQ_GPIO_CF_CD IRQ_GPIO24 | ||
46 | 44 | ||
47 | /*--- SmartCard ---*/ | 45 | /*--- SmartCard ---*/ |
48 | #define GPIO_SMART_CARD GPIO_GPIO10 | 46 | #define GPIO_SMART_CARD GPIO_GPIO10 |