diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-11-08 19:15:43 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-08 19:15:43 +0000 |
commit | a63ae4427c6af66d6eda26e5da8fed53f8fbede3 (patch) | |
tree | cb30bd5993c07bae7f66564713292d8b224d591f /arch/arm/common/scoop.c | |
parent | 1d23b65de54c35844e82bdb08bc85d8142e310ea (diff) | |
download | op-kernel-dev-a63ae4427c6af66d6eda26e5da8fed53f8fbede3.zip op-kernel-dev-a63ae4427c6af66d6eda26e5da8fed53f8fbede3.tar.gz |
[ARM] 3093/1: SharpSL PCMCIA Updates for Cxx00 models
Patch from Richard Purdie
The Sharp SL-Cxx00 models have a combined power control for the SD
and CF slot 0. This patch adds hooks to the scoop driver to allow
machines to provide a custom control function for this and such a
function is added for spitz/akita/borzoi.
It also moves the gpio init code into the machine files as this
is machine dependent and differs between some models. A couple of
warnings when compiling for collie are also fixed.
Signed-off-by: Richard Purdie
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/scoop.c')
-rw-r--r-- | arch/arm/common/scoop.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c index bb4eff6..c7fdf39 100644 --- a/arch/arm/common/scoop.c +++ b/arch/arm/common/scoop.c @@ -19,12 +19,6 @@ #define SCOOP_REG(d,adr) (*(volatile unsigned short*)(d +(adr))) -/* PCMCIA to Scoop linkage structures for pxa2xx_sharpsl.c - There is no easy way to link multiple scoop devices into one - single entity for the pxa2xx_pcmcia device */ -int scoop_num; -struct scoop_pcmcia_dev *scoop_devs; - struct scoop_dev { void *base; spinlock_t scoop_lock; |