diff options
Diffstat (limited to 'drivers/net/pcmcia/fmvj18x_cs.c')
-rw-r--r-- | drivers/net/pcmcia/fmvj18x_cs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c index 23f5333d8029..f6865adb126d 100644 --- a/drivers/net/pcmcia/fmvj18x_cs.c +++ b/drivers/net/pcmcia/fmvj18x_cs.c | |||
@@ -49,7 +49,6 @@ | |||
49 | #include <linux/ioport.h> | 49 | #include <linux/ioport.h> |
50 | #include <linux/crc32.h> | 50 | #include <linux/crc32.h> |
51 | 51 | ||
52 | #include <pcmcia/cs.h> | ||
53 | #include <pcmcia/cistpl.h> | 52 | #include <pcmcia/cistpl.h> |
54 | #include <pcmcia/ciscode.h> | 53 | #include <pcmcia/ciscode.h> |
55 | #include <pcmcia/ds.h> | 54 | #include <pcmcia/ds.h> |
@@ -252,7 +251,7 @@ static int fmvj18x_probe(struct pcmcia_device *link) | |||
252 | link->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; | 251 | link->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; |
253 | 252 | ||
254 | /* General socket configuration */ | 253 | /* General socket configuration */ |
255 | link->conf.Attributes = CONF_ENABLE_IRQ; | 254 | link->config_flags |= CONF_ENABLE_IRQ; |
256 | 255 | ||
257 | dev->netdev_ops = &fjn_netdev_ops; | 256 | dev->netdev_ops = &fjn_netdev_ops; |
258 | dev->watchdog_timeo = TX_TIMEOUT; | 257 | dev->watchdog_timeo = TX_TIMEOUT; |
@@ -431,7 +430,7 @@ static int fmvj18x_config(struct pcmcia_device *link) | |||
431 | ret = pcmcia_request_irq(link, fjn_interrupt); | 430 | ret = pcmcia_request_irq(link, fjn_interrupt); |
432 | if (ret) | 431 | if (ret) |
433 | goto failed; | 432 | goto failed; |
434 | ret = pcmcia_request_configuration(link, &link->conf); | 433 | ret = pcmcia_enable_device(link); |
435 | if (ret) | 434 | if (ret) |
436 | goto failed; | 435 | goto failed; |
437 | 436 | ||