aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2009-12-09 05:54:05 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-12-13 11:33:13 -0500
commit002939729c7c8f6448e89e9e86c8c5bf6f0c77d3 (patch)
tree66a5c7b64da1d4f3b66728accb9e95983df6722b /drivers
parentd0d26c33b63c7ec10c3fdf9c7ce0aa035f0b3200 (diff)
ARM: pxa: fix now incorrect reference of skt->irq by using skt->socket.pci_irq
commit 66024db removes all other references of skt->irq by using skt->socket.pci_irq, while leaving these two missed. Get them fixed. Signed-off-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pcmcia/pxa2xx_palmtc.c2
-rw-r--r--drivers/pcmcia/pxa2xx_stargate2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/pxa2xx_palmtc.c b/drivers/pcmcia/pxa2xx_palmtc.c
index 3a8993ed5621..459a232d66be 100644
--- a/drivers/pcmcia/pxa2xx_palmtc.c
+++ b/drivers/pcmcia/pxa2xx_palmtc.c
@@ -67,7 +67,7 @@ static int palmtc_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
67 if (ret) 67 if (ret)
68 goto err7; 68 goto err7;
69 69
70 skt->irq = IRQ_GPIO(GPIO_NR_PALMTC_PCMCIA_READY); 70 skt->socket.pci_irq = IRQ_GPIO(GPIO_NR_PALMTC_PCMCIA_READY);
71 return 0; 71 return 0;
72 72
73err7: 73err7:
diff --git a/drivers/pcmcia/pxa2xx_stargate2.c b/drivers/pcmcia/pxa2xx_stargate2.c
index 490749ea677f..d08802fe35f9 100644
--- a/drivers/pcmcia/pxa2xx_stargate2.c
+++ b/drivers/pcmcia/pxa2xx_stargate2.c
@@ -40,7 +40,7 @@ static struct pcmcia_irqs irqs[] = {
40 40
41static int sg2_pcmcia_hw_init(struct soc_pcmcia_socket *skt) 41static int sg2_pcmcia_hw_init(struct soc_pcmcia_socket *skt)
42{ 42{
43 skt->irq = IRQ_GPIO(SG2_S0_GPIO_READY); 43 skt->socket.pci_irq = IRQ_GPIO(SG2_S0_GPIO_READY);
44 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs)); 44 return soc_pcmcia_request_irqs(skt, irqs, ARRAY_SIZE(irqs));
45} 45}
46 46