diff options
-rw-r--r-- | drivers/pcmcia/ds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index 621ec459d27a..0a424a4e8187 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -311,8 +311,6 @@ int pcmcia_register_driver(struct pcmcia_driver *driver) | |||
311 | /* initialize common fields */ | 311 | /* initialize common fields */ |
312 | driver->drv.bus = &pcmcia_bus_type; | 312 | driver->drv.bus = &pcmcia_bus_type; |
313 | driver->drv.owner = driver->owner; | 313 | driver->drv.owner = driver->owner; |
314 | driver->drv.probe = pcmcia_device_probe; | ||
315 | driver->drv.remove = pcmcia_device_remove; | ||
316 | 314 | ||
317 | return driver_register(&driver->drv); | 315 | return driver_register(&driver->drv); |
318 | } | 316 | } |
@@ -1200,6 +1198,8 @@ struct bus_type pcmcia_bus_type = { | |||
1200 | .uevent = pcmcia_bus_uevent, | 1198 | .uevent = pcmcia_bus_uevent, |
1201 | .match = pcmcia_bus_match, | 1199 | .match = pcmcia_bus_match, |
1202 | .dev_attrs = pcmcia_dev_attrs, | 1200 | .dev_attrs = pcmcia_dev_attrs, |
1201 | .probe = pcmcia_device_probe, | ||
1202 | .remove = pcmcia_device_remove, | ||
1203 | .suspend = pcmcia_dev_suspend, | 1203 | .suspend = pcmcia_dev_suspend, |
1204 | .resume = pcmcia_dev_resume, | 1204 | .resume = pcmcia_dev_resume, |
1205 | }; | 1205 | }; |