diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2009-03-28 05:56:28 -0400 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-28 07:24:39 -0400 |
commit | d66ea8d4c2aa7199cf4e5c977eb25764e5fc5da9 (patch) | |
tree | d27b7be3712edf39f655545c56eb9e68cff85337 /drivers/pcmcia/pxa2xx_palmld.c | |
parent | c9b78189f50dcba6e69080268873a62c67e4bc15 (diff) |
[ARM] pxa: fix the bad assumption that PCMCIA sockets always start with 0
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'drivers/pcmcia/pxa2xx_palmld.c')
-rw-r--r-- | drivers/pcmcia/pxa2xx_palmld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/pxa2xx_palmld.c b/drivers/pcmcia/pxa2xx_palmld.c index 1736c67e547e..5ba9b3664a00 100644 --- a/drivers/pcmcia/pxa2xx_palmld.c +++ b/drivers/pcmcia/pxa2xx_palmld.c | |||
@@ -98,8 +98,8 @@ static void palmld_pcmcia_socket_suspend(struct soc_pcmcia_socket *skt) | |||
98 | static struct pcmcia_low_level palmld_pcmcia_ops = { | 98 | static struct pcmcia_low_level palmld_pcmcia_ops = { |
99 | .owner = THIS_MODULE, | 99 | .owner = THIS_MODULE, |
100 | 100 | ||
101 | .first = 0, | 101 | .first = 1, |
102 | .nr = 2, | 102 | .nr = 1, |
103 | 103 | ||
104 | .hw_init = palmld_pcmcia_hw_init, | 104 | .hw_init = palmld_pcmcia_hw_init, |
105 | .hw_shutdown = palmld_pcmcia_hw_shutdown, | 105 | .hw_shutdown = palmld_pcmcia_hw_shutdown, |