aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/bcm63xx_pcmcia.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/bcm63xx_pcmcia.c')
-rw-r--r--drivers/pcmcia/bcm63xx_pcmcia.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pcmcia/bcm63xx_pcmcia.c b/drivers/pcmcia/bcm63xx_pcmcia.c
index c2e997a570bf..0c6aac1232fc 100644
--- a/drivers/pcmcia/bcm63xx_pcmcia.c
+++ b/drivers/pcmcia/bcm63xx_pcmcia.c
@@ -323,7 +323,7 @@ static struct pccard_operations bcm63xx_pcmcia_operations = {
323/* 323/*
324 * register pcmcia socket to core 324 * register pcmcia socket to core
325 */ 325 */
326static int __devinit bcm63xx_drv_pcmcia_probe(struct platform_device *pdev) 326static int bcm63xx_drv_pcmcia_probe(struct platform_device *pdev)
327{ 327{
328 struct bcm63xx_pcmcia_socket *skt; 328 struct bcm63xx_pcmcia_socket *skt;
329 struct pcmcia_socket *sock; 329 struct pcmcia_socket *sock;
@@ -436,7 +436,7 @@ err:
436 return ret; 436 return ret;
437} 437}
438 438
439static int __devexit bcm63xx_drv_pcmcia_remove(struct platform_device *pdev) 439static int bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
440{ 440{
441 struct bcm63xx_pcmcia_socket *skt; 441 struct bcm63xx_pcmcia_socket *skt;
442 struct resource *res; 442 struct resource *res;
@@ -453,7 +453,7 @@ static int __devexit bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
453 453
454struct platform_driver bcm63xx_pcmcia_driver = { 454struct platform_driver bcm63xx_pcmcia_driver = {
455 .probe = bcm63xx_drv_pcmcia_probe, 455 .probe = bcm63xx_drv_pcmcia_probe,
456 .remove = __devexit_p(bcm63xx_drv_pcmcia_remove), 456 .remove = bcm63xx_drv_pcmcia_remove,
457 .driver = { 457 .driver = {
458 .name = "bcm63xx_pcmcia", 458 .name = "bcm63xx_pcmcia",
459 .owner = THIS_MODULE, 459 .owner = THIS_MODULE,
@@ -461,7 +461,7 @@ struct platform_driver bcm63xx_pcmcia_driver = {
461}; 461};
462 462
463#ifdef CONFIG_CARDBUS 463#ifdef CONFIG_CARDBUS
464static int __devinit bcm63xx_cb_probe(struct pci_dev *dev, 464static int bcm63xx_cb_probe(struct pci_dev *dev,
465 const struct pci_device_id *id) 465 const struct pci_device_id *id)
466{ 466{
467 /* keep pci device */ 467 /* keep pci device */
@@ -469,7 +469,7 @@ static int __devinit bcm63xx_cb_probe(struct pci_dev *dev,
469 return platform_driver_register(&bcm63xx_pcmcia_driver); 469 return platform_driver_register(&bcm63xx_pcmcia_driver);
470} 470}
471 471
472static void __devexit bcm63xx_cb_exit(struct pci_dev *dev) 472static void bcm63xx_cb_exit(struct pci_dev *dev)
473{ 473{
474 platform_driver_unregister(&bcm63xx_pcmcia_driver); 474 platform_driver_unregister(&bcm63xx_pcmcia_driver);
475 bcm63xx_cb_dev = NULL; 475 bcm63xx_cb_dev = NULL;
@@ -503,7 +503,7 @@ static struct pci_driver bcm63xx_cardbus_driver = {
503 .name = "bcm63xx_cardbus", 503 .name = "bcm63xx_cardbus",
504 .id_table = bcm63xx_cb_table, 504 .id_table = bcm63xx_cb_table,
505 .probe = bcm63xx_cb_probe, 505 .probe = bcm63xx_cb_probe,
506 .remove = __devexit_p(bcm63xx_cb_exit), 506 .remove = bcm63xx_cb_exit,
507}; 507};
508#endif 508#endif
509 509