summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
commit6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch)
tree0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /drivers/pcmcia
parentecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff)
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/yenta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/yenta.c b/drivers/pcmcia/yenta.c
index 9ce07690b..a945167c5 100644
--- a/drivers/pcmcia/yenta.c
+++ b/drivers/pcmcia/yenta.c
@@ -788,7 +788,7 @@ static int yenta_open(pci_socket_t *socket)
*/
if (pci_enable_device(dev))
return -1;
- if (!dev->resource[0].start) {
+ if (!pci_resource_start(dev, 0)) {
printk("No cardbus resource!\n");
return -1;
}
@@ -797,7 +797,7 @@ static int yenta_open(pci_socket_t *socket)
* Ok, start setup.. Map the cardbus registers,
* and request the IRQ.
*/
- socket->base = ioremap(dev->resource[0].start, 0x1000);
+ socket->base = ioremap(pci_resource_start(dev, 0), 0x1000);
if (!socket->base)
return -1;