summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/sa1111_jornada720.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/sa1111_jornada720.c')
-rw-r--r--drivers/pcmcia/sa1111_jornada720.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pcmcia/sa1111_jornada720.c b/drivers/pcmcia/sa1111_jornada720.c
index 40e040314503..c2c30580c83f 100644
--- a/drivers/pcmcia/sa1111_jornada720.c
+++ b/drivers/pcmcia/sa1111_jornada720.c
@@ -92,10 +92,9 @@ static struct pcmcia_low_level jornada720_pcmcia_ops = {
.nr = 2,
};
-int pcmcia_jornada720_init(struct device *dev)
+int pcmcia_jornada720_init(struct sa1111_dev *sadev)
{
int ret = -ENODEV;
- struct sa1111_dev *sadev = SA1111_DEV(dev);
if (machine_is_jornada720()) {
unsigned int pin = GPIO_A0 | GPIO_A1 | GPIO_A2 | GPIO_A3;
OpenPOWER on IntegriCloud