summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/arcom-pcmcia.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@misterjones.org>2009-11-14 13:39:13 +0100
committerEric Miao <eric.y.miao@gmail.com>2009-12-13 21:42:58 +0800
commitc2de1c382933fd9ef0a3db13b6747115e1e32c56 (patch)
treed9e0fa251d376fb7d5f9906952bf02f2f31570e0 /arch/arm/mach-pxa/include/mach/arcom-pcmcia.h
parente491a11c77a4ed93ec14cc052b1f048bddc9e99a (diff)
[ARM] pxa/zeus: make Viper pcmcia support more generic to support Zeus
The Arcom Zeus CF slot requires the same kind of support as the Viper. To avoid code duplication, introduce a platform device that abstracts the differences. This also allows for the removal of the ugly export of viper_cf_rst(). Signed-off-by: Marc Zyngier <maz@misterjones.org> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/arcom-pcmcia.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/arcom-pcmcia.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/arcom-pcmcia.h b/arch/arm/mach-pxa/include/mach/arcom-pcmcia.h
new file mode 100644
index 000000000000..d428be4db44c
--- /dev/null
+++ b/arch/arm/mach-pxa/include/mach/arcom-pcmcia.h
@@ -0,0 +1,11 @@
+#ifndef __ARCOM_PCMCIA_H
+#define __ARCOM_PCMCIA_H
+
+struct arcom_pcmcia_pdata {
+ int cd_gpio;
+ int rdy_gpio;
+ int pwr_gpio;
+ void (*reset)(int state);
+};
+
+#endif