diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2014-10-21 00:29:24 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 11:24:01 -0800 |
commit | 4bc9ef297e3e85deeae81d1156fac89012c7db9a (patch) | |
tree | 429c30bba5dee000f2fae217fc5b94d8b1564524 /drivers/pcmcia/sa1111_jornada720.c | |
parent | cfd1f008c4ee7ba4567f8488fb2dc740bd787151 (diff) |
pcmcia: sa1111: pass sa1111_dev to jornada720 code
All other sa1111 platforms pass sa1111_dev instance to platform-specific
code. Follow this approach for Jornada720 platform code.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pcmcia/sa1111_jornada720.c')
-rw-r--r-- | drivers/pcmcia/sa1111_jornada720.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pcmcia/sa1111_jornada720.c b/drivers/pcmcia/sa1111_jornada720.c index 40e04031450..c2c30580c83 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; |