aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-11 16:13:55 -0500
commitcff2f741b8ee8a70b208830e330de053efd4fc45 (patch)
tree83367ed74d889e2c8179f1f8b5d6f6f73b857982 /drivers/mmc
parentb0885d01f9ab1274109c02942c881d598f939623 (diff)
parent92e9e6d1f9844b73a26215025a922e7d7aeae361 (diff)
Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman: "Here's the large driver core updates for 3.8-rc1. The biggest thing here is the various __dev* marking removals. This is going to be a pain for the merge with different subsystem trees, I know, but all of the patches included here have been ACKed by their various subsystem maintainers, as they wanted them to go through here. If this is too much of a pain, I can pull all of them out of this tree and just send you one with the other fixes/updates and then, after 3.8-rc1 is out, do the rest of the removals to ensure we catch them all, it's up to you. The merges should all be trivial, and Stephen has been doing them all in linux-next for a few weeks now quite easily. Other than the __dev* marking removals, there's nothing major here, some firmware loading updates and other minor things in the driver core. All of these have (much to Stephen's annoyance), been in linux-next for a while. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflicts in drivers/gpio/gpio-{em,stmpe}.c due to gpio update. * tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (93 commits) modpost.c: Stop checking __dev* section mismatches init.h: Remove __dev* sections from the kernel acpi: remove use of __devinit PCI: Remove __dev* markings PCI: Always build setup-bus when PCI is enabled PCI: Move pci_uevent into pci-driver.c PCI: Remove CONFIG_HOTPLUG ifdefs unicore32/PCI: Remove CONFIG_HOTPLUG ifdefs sh/PCI: Remove CONFIG_HOTPLUG ifdefs powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs mips/PCI: Remove CONFIG_HOTPLUG ifdefs microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs dma: remove use of __devinit dma: remove use of __devexit_p firewire: remove use of __devinitdata firewire: remove use of __devinit leds: remove use of __devexit leds: remove use of __devinit leds: remove use of __devexit_p mmc: remove use of __devexit ...
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/atmel-mci.c2
-rw-r--r--drivers/mmc/host/au1xmmc.c4
-rw-r--r--drivers/mmc/host/bfin_sdh.c6
-rw-r--r--drivers/mmc/host/cb710-mmc.c6
-rw-r--r--drivers/mmc/host/dw_mmc-pci.c4
-rw-r--r--drivers/mmc/host/dw_mmc-pltfm.c4
-rw-r--r--drivers/mmc/host/dw_mmc-pltfm.h2
-rw-r--r--drivers/mmc/host/jz4740_mmc.c12
-rw-r--r--drivers/mmc/host/mmc_spi.c6
-rw-r--r--drivers/mmc/host/mmci.c10
-rw-r--r--drivers/mmc/host/omap.c8
-rw-r--r--drivers/mmc/host/omap_hsmmc.c6
-rw-r--r--drivers/mmc/host/pxamci.c4
-rw-r--r--drivers/mmc/host/s3cmci.c6
-rw-r--r--drivers/mmc/host/sdhci-cns3xxx.c6
-rw-r--r--drivers/mmc/host/sdhci-dove.c8
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c8
-rw-r--r--drivers/mmc/host/sdhci-of-esdhc.c6
-rw-r--r--drivers/mmc/host/sdhci-of-hlwd.c6
-rw-r--r--drivers/mmc/host/sdhci-pci.c14
-rw-r--r--drivers/mmc/host/sdhci-pxav2.c6
-rw-r--r--drivers/mmc/host/sdhci-pxav3.c6
-rw-r--r--drivers/mmc/host/sdhci-s3c.c10
-rw-r--r--drivers/mmc/host/sdhci-spear.c12
-rw-r--r--drivers/mmc/host/sdhci-tegra.c10
-rw-r--r--drivers/mmc/host/sh_mmcif.c4
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c4
-rw-r--r--drivers/mmc/host/tmio_mmc.c6
-rw-r--r--drivers/mmc/host/tmio_mmc_pio.c2
-rw-r--r--drivers/mmc/host/via-sdmmc.c6
-rw-r--r--drivers/mmc/host/wbsd.c28
31 files changed, 110 insertions, 112 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index ddf096e3803f..5248ba4369a3 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -511,7 +511,7 @@ static const struct of_device_id atmci_dt_ids[] = {
511 511
512MODULE_DEVICE_TABLE(of, atmci_dt_ids); 512MODULE_DEVICE_TABLE(of, atmci_dt_ids);
513 513
514static struct mci_platform_data __devinit* 514static struct mci_platform_data*
515atmci_of_init(struct platform_device *pdev) 515atmci_of_init(struct platform_device *pdev)
516{ 516{
517 struct device_node *np = pdev->dev.of_node; 517 struct device_node *np = pdev->dev.of_node;
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c
index dbd0c8a4e98a..127a8fade4da 100644
--- a/drivers/mmc/host/au1xmmc.c
+++ b/drivers/mmc/host/au1xmmc.c
@@ -943,7 +943,7 @@ static const struct mmc_host_ops au1xmmc_ops = {
943 .enable_sdio_irq = au1xmmc_enable_sdio_irq, 943 .enable_sdio_irq = au1xmmc_enable_sdio_irq,
944}; 944};
945 945
946static int __devinit au1xmmc_probe(struct platform_device *pdev) 946static int au1xmmc_probe(struct platform_device *pdev)
947{ 947{
948 struct mmc_host *mmc; 948 struct mmc_host *mmc;
949 struct au1xmmc_host *host; 949 struct au1xmmc_host *host;
@@ -1114,7 +1114,7 @@ out0:
1114 return ret; 1114 return ret;
1115} 1115}
1116 1116
1117static int __devexit au1xmmc_remove(struct platform_device *pdev) 1117static int au1xmmc_remove(struct platform_device *pdev)
1118{ 1118{
1119 struct au1xmmc_host *host = platform_get_drvdata(pdev); 1119 struct au1xmmc_host *host = platform_get_drvdata(pdev);
1120 1120
diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c
index b9b463eca1ec..fb4348c5b6ac 100644
--- a/drivers/mmc/host/bfin_sdh.c
+++ b/drivers/mmc/host/bfin_sdh.c
@@ -522,7 +522,7 @@ static void sdh_reset(void)
522 SSYNC(); 522 SSYNC();
523} 523}
524 524
525static int __devinit sdh_probe(struct platform_device *pdev) 525static int sdh_probe(struct platform_device *pdev)
526{ 526{
527 struct mmc_host *mmc; 527 struct mmc_host *mmc;
528 struct sdh_host *host; 528 struct sdh_host *host;
@@ -617,7 +617,7 @@ out1:
617 return ret; 617 return ret;
618} 618}
619 619
620static int __devexit sdh_remove(struct platform_device *pdev) 620static int sdh_remove(struct platform_device *pdev)
621{ 621{
622 struct mmc_host *mmc = platform_get_drvdata(pdev); 622 struct mmc_host *mmc = platform_get_drvdata(pdev);
623 623
@@ -680,7 +680,7 @@ static int sdh_resume(struct platform_device *dev)
680 680
681static struct platform_driver sdh_driver = { 681static struct platform_driver sdh_driver = {
682 .probe = sdh_probe, 682 .probe = sdh_probe,
683 .remove = __devexit_p(sdh_remove), 683 .remove = sdh_remove,
684 .suspend = sdh_suspend, 684 .suspend = sdh_suspend,
685 .resume = sdh_resume, 685 .resume = sdh_resume,
686 .driver = { 686 .driver = {
diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c
index 83693fd7c6b3..777ca2046b27 100644
--- a/drivers/mmc/host/cb710-mmc.c
+++ b/drivers/mmc/host/cb710-mmc.c
@@ -690,7 +690,7 @@ static int cb710_mmc_resume(struct platform_device *pdev)
690 690
691#endif /* CONFIG_PM */ 691#endif /* CONFIG_PM */
692 692
693static int __devinit cb710_mmc_init(struct platform_device *pdev) 693static int cb710_mmc_init(struct platform_device *pdev)
694{ 694{
695 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); 695 struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
696 struct cb710_chip *chip = cb710_slot_to_chip(slot); 696 struct cb710_chip *chip = cb710_slot_to_chip(slot);
@@ -746,7 +746,7 @@ err_free_mmc:
746 return err; 746 return err;
747} 747}
748 748
749static int __devexit cb710_mmc_exit(struct platform_device *pdev) 749static int cb710_mmc_exit(struct platform_device *pdev)
750{ 750{
751 struct cb710_slot *slot = cb710_pdev_to_slot(pdev); 751 struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
752 struct mmc_host *mmc = cb710_slot_to_mmc(slot); 752 struct mmc_host *mmc = cb710_slot_to_mmc(slot);
@@ -773,7 +773,7 @@ static int __devexit cb710_mmc_exit(struct platform_device *pdev)
773static struct platform_driver cb710_mmc_driver = { 773static struct platform_driver cb710_mmc_driver = {
774 .driver.name = "cb710-mmc", 774 .driver.name = "cb710-mmc",
775 .probe = cb710_mmc_init, 775 .probe = cb710_mmc_init,
776 .remove = __devexit_p(cb710_mmc_exit), 776 .remove = cb710_mmc_exit,
777#ifdef CONFIG_PM 777#ifdef CONFIG_PM
778 .suspend = cb710_mmc_suspend, 778 .suspend = cb710_mmc_suspend,
779 .resume = cb710_mmc_resume, 779 .resume = cb710_mmc_resume,
diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c
index 53a09cbb2c7c..8ee0f74f9374 100644
--- a/drivers/mmc/host/dw_mmc-pci.c
+++ b/drivers/mmc/host/dw_mmc-pci.c
@@ -37,7 +37,7 @@ static struct dw_mci_board pci_board_data = {
37 .fifo_depth = 32, 37 .fifo_depth = 32,
38}; 38};
39 39
40static int __devinit dw_mci_pci_probe(struct pci_dev *pdev, 40static int dw_mci_pci_probe(struct pci_dev *pdev,
41 const struct pci_device_id *entries) 41 const struct pci_device_id *entries)
42{ 42{
43 struct dw_mci *host; 43 struct dw_mci *host;
@@ -85,7 +85,7 @@ err_disable_dev:
85 return ret; 85 return ret;
86} 86}
87 87
88static void __devexit dw_mci_pci_remove(struct pci_dev *pdev) 88static void dw_mci_pci_remove(struct pci_dev *pdev)
89{ 89{
90 struct dw_mci *host = pci_get_drvdata(pdev); 90 struct dw_mci *host = pci_get_drvdata(pdev);
91 91
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c
index 4e133709e33d..222036c9e053 100644
--- a/drivers/mmc/host/dw_mmc-pltfm.c
+++ b/drivers/mmc/host/dw_mmc-pltfm.c
@@ -62,12 +62,12 @@ int dw_mci_pltfm_register(struct platform_device *pdev,
62} 62}
63EXPORT_SYMBOL_GPL(dw_mci_pltfm_register); 63EXPORT_SYMBOL_GPL(dw_mci_pltfm_register);
64 64
65static int __devinit dw_mci_pltfm_probe(struct platform_device *pdev) 65static int dw_mci_pltfm_probe(struct platform_device *pdev)
66{ 66{
67 return dw_mci_pltfm_register(pdev, NULL); 67 return dw_mci_pltfm_register(pdev, NULL);
68} 68}
69 69
70static int __devexit dw_mci_pltfm_remove(struct platform_device *pdev) 70static int dw_mci_pltfm_remove(struct platform_device *pdev)
71{ 71{
72 struct dw_mci *host = platform_get_drvdata(pdev); 72 struct dw_mci *host = platform_get_drvdata(pdev);
73 73
diff --git a/drivers/mmc/host/dw_mmc-pltfm.h b/drivers/mmc/host/dw_mmc-pltfm.h
index 2ac37b81de4d..68e7fd2f6148 100644
--- a/drivers/mmc/host/dw_mmc-pltfm.h
+++ b/drivers/mmc/host/dw_mmc-pltfm.h
@@ -14,7 +14,7 @@
14 14
15extern int dw_mci_pltfm_register(struct platform_device *pdev, 15extern int dw_mci_pltfm_register(struct platform_device *pdev,
16 const struct dw_mci_drv_data *drv_data); 16 const struct dw_mci_drv_data *drv_data);
17extern int __devexit dw_mci_pltfm_remove(struct platform_device *pdev); 17extern int dw_mci_pltfm_remove(struct platform_device *pdev);
18extern const struct dev_pm_ops dw_mci_pltfm_pmops; 18extern const struct dev_pm_ops dw_mci_pltfm_pmops;
19 19
20#endif /* _DW_MMC_PLTFM_H_ */ 20#endif /* _DW_MMC_PLTFM_H_ */
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index c8852a8128a9..2391c6b7a4bb 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -702,7 +702,7 @@ static const struct jz_gpio_bulk_request jz4740_mmc_pins[] = {
702 JZ_GPIO_BULK_PIN(MSC_DATA3), 702 JZ_GPIO_BULK_PIN(MSC_DATA3),
703}; 703};
704 704
705static int __devinit jz4740_mmc_request_gpio(struct device *dev, int gpio, 705static int jz4740_mmc_request_gpio(struct device *dev, int gpio,
706 const char *name, bool output, int value) 706 const char *name, bool output, int value)
707{ 707{
708 int ret; 708 int ret;
@@ -724,7 +724,7 @@ static int __devinit jz4740_mmc_request_gpio(struct device *dev, int gpio,
724 return 0; 724 return 0;
725} 725}
726 726
727static int __devinit jz4740_mmc_request_gpios(struct platform_device *pdev) 727static int jz4740_mmc_request_gpios(struct platform_device *pdev)
728{ 728{
729 int ret; 729 int ret;
730 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data; 730 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data;
@@ -759,7 +759,7 @@ err:
759 return ret; 759 return ret;
760} 760}
761 761
762static int __devinit jz4740_mmc_request_cd_irq(struct platform_device *pdev, 762static int jz4740_mmc_request_cd_irq(struct platform_device *pdev,
763 struct jz4740_mmc_host *host) 763 struct jz4740_mmc_host *host)
764{ 764{
765 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data; 765 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data;
@@ -802,7 +802,7 @@ static inline size_t jz4740_mmc_num_pins(struct jz4740_mmc_host *host)
802 return num_pins; 802 return num_pins;
803} 803}
804 804
805static int __devinit jz4740_mmc_probe(struct platform_device* pdev) 805static int jz4740_mmc_probe(struct platform_device* pdev)
806{ 806{
807 int ret; 807 int ret;
808 struct mmc_host *mmc; 808 struct mmc_host *mmc;
@@ -938,7 +938,7 @@ err_free_host:
938 return ret; 938 return ret;
939} 939}
940 940
941static int __devexit jz4740_mmc_remove(struct platform_device *pdev) 941static int jz4740_mmc_remove(struct platform_device *pdev)
942{ 942{
943 struct jz4740_mmc_host *host = platform_get_drvdata(pdev); 943 struct jz4740_mmc_host *host = platform_get_drvdata(pdev);
944 944
@@ -1004,7 +1004,7 @@ const struct dev_pm_ops jz4740_mmc_pm_ops = {
1004 1004
1005static struct platform_driver jz4740_mmc_driver = { 1005static struct platform_driver jz4740_mmc_driver = {
1006 .probe = jz4740_mmc_probe, 1006 .probe = jz4740_mmc_probe,
1007 .remove = __devexit_p(jz4740_mmc_remove), 1007 .remove = jz4740_mmc_remove,
1008 .driver = { 1008 .driver = {
1009 .name = "jz4740-mmc", 1009 .name = "jz4740-mmc",
1010 .owner = THIS_MODULE, 1010 .owner = THIS_MODULE,
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index a600eabbd6c3..74145d1d51f5 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -1485,7 +1485,7 @@ nomem:
1485} 1485}
1486 1486
1487 1487
1488static int __devexit mmc_spi_remove(struct spi_device *spi) 1488static int mmc_spi_remove(struct spi_device *spi)
1489{ 1489{
1490 struct mmc_host *mmc = dev_get_drvdata(&spi->dev); 1490 struct mmc_host *mmc = dev_get_drvdata(&spi->dev);
1491 struct mmc_spi_host *host; 1491 struct mmc_spi_host *host;
@@ -1517,7 +1517,7 @@ static int __devexit mmc_spi_remove(struct spi_device *spi)
1517 return 0; 1517 return 0;
1518} 1518}
1519 1519
1520static struct of_device_id mmc_spi_of_match_table[] __devinitdata = { 1520static struct of_device_id mmc_spi_of_match_table[] = {
1521 { .compatible = "mmc-spi-slot", }, 1521 { .compatible = "mmc-spi-slot", },
1522 {}, 1522 {},
1523}; 1523};
@@ -1529,7 +1529,7 @@ static struct spi_driver mmc_spi_driver = {
1529 .of_match_table = mmc_spi_of_match_table, 1529 .of_match_table = mmc_spi_of_match_table,
1530 }, 1530 },
1531 .probe = mmc_spi_probe, 1531 .probe = mmc_spi_probe,
1532 .remove = __devexit_p(mmc_spi_remove), 1532 .remove = mmc_spi_remove,
1533}; 1533};
1534 1534
1535module_spi_driver(mmc_spi_driver); 1535module_spi_driver(mmc_spi_driver);
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index edc3e9baf0e7..ec28d175d9c8 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -261,7 +261,7 @@ static void mmci_init_sg(struct mmci_host *host, struct mmc_data *data)
261 * no custom DMA interfaces are supported. 261 * no custom DMA interfaces are supported.
262 */ 262 */
263#ifdef CONFIG_DMA_ENGINE 263#ifdef CONFIG_DMA_ENGINE
264static void __devinit mmci_dma_setup(struct mmci_host *host) 264static void mmci_dma_setup(struct mmci_host *host)
265{ 265{
266 struct mmci_platform_data *plat = host->plat; 266 struct mmci_platform_data *plat = host->plat;
267 const char *rxname, *txname; 267 const char *rxname, *txname;
@@ -337,7 +337,7 @@ static void __devinit mmci_dma_setup(struct mmci_host *host)
337} 337}
338 338
339/* 339/*
340 * This is used in __devinit or __devexit so inline it 340 * This is used in or so inline it
341 * so it can be discarded. 341 * so it can be discarded.
342 */ 342 */
343static inline void mmci_dma_release(struct mmci_host *host) 343static inline void mmci_dma_release(struct mmci_host *host)
@@ -1255,7 +1255,7 @@ static void mmci_dt_populate_generic_pdata(struct device_node *np,
1255} 1255}
1256#endif 1256#endif
1257 1257
1258static int __devinit mmci_probe(struct amba_device *dev, 1258static int mmci_probe(struct amba_device *dev,
1259 const struct amba_id *id) 1259 const struct amba_id *id)
1260{ 1260{
1261 struct mmci_platform_data *plat = dev->dev.platform_data; 1261 struct mmci_platform_data *plat = dev->dev.platform_data;
@@ -1522,7 +1522,7 @@ static int __devinit mmci_probe(struct amba_device *dev,
1522 return ret; 1522 return ret;
1523} 1523}
1524 1524
1525static int __devexit mmci_remove(struct amba_device *dev) 1525static int mmci_remove(struct amba_device *dev)
1526{ 1526{
1527 struct mmc_host *mmc = amba_get_drvdata(dev); 1527 struct mmc_host *mmc = amba_get_drvdata(dev);
1528 1528
@@ -1669,7 +1669,7 @@ static struct amba_driver mmci_driver = {
1669 .pm = &mmci_dev_pm_ops, 1669 .pm = &mmci_dev_pm_ops,
1670 }, 1670 },
1671 .probe = mmci_probe, 1671 .probe = mmci_probe,
1672 .remove = __devexit_p(mmci_remove), 1672 .remove = mmci_remove,
1673 .id_table = mmci_ids, 1673 .id_table = mmci_ids,
1674}; 1674};
1675 1675
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 48ad361613ef..4e749ab690c8 100644
--- a/drivers/mmc/host/omap.c
+++ b/drivers/mmc/host/omap.c
@@ -1214,7 +1214,7 @@ static const struct mmc_host_ops mmc_omap_ops = {
1214 .set_ios = mmc_omap_set_ios, 1214 .set_ios = mmc_omap_set_ios,
1215}; 1215};
1216 1216
1217static int __devinit mmc_omap_new_slot(struct mmc_omap_host *host, int id) 1217static int mmc_omap_new_slot(struct mmc_omap_host *host, int id)
1218{ 1218{
1219 struct mmc_omap_slot *slot = NULL; 1219 struct mmc_omap_slot *slot = NULL;
1220 struct mmc_host *mmc; 1220 struct mmc_host *mmc;
@@ -1309,7 +1309,7 @@ static void mmc_omap_remove_slot(struct mmc_omap_slot *slot)
1309 mmc_free_host(mmc); 1309 mmc_free_host(mmc);
1310} 1310}
1311 1311
1312static int __devinit mmc_omap_probe(struct platform_device *pdev) 1312static int mmc_omap_probe(struct platform_device *pdev)
1313{ 1313{
1314 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data; 1314 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data;
1315 struct mmc_omap_host *host = NULL; 1315 struct mmc_omap_host *host = NULL;
@@ -1478,7 +1478,7 @@ err_free_mem_region:
1478 return ret; 1478 return ret;
1479} 1479}
1480 1480
1481static int __devexit mmc_omap_remove(struct platform_device *pdev) 1481static int mmc_omap_remove(struct platform_device *pdev)
1482{ 1482{
1483 struct mmc_omap_host *host = platform_get_drvdata(pdev); 1483 struct mmc_omap_host *host = platform_get_drvdata(pdev);
1484 int i; 1484 int i;
@@ -1566,7 +1566,7 @@ static int mmc_omap_resume(struct platform_device *pdev)
1566 1566
1567static struct platform_driver mmc_omap_driver = { 1567static struct platform_driver mmc_omap_driver = {
1568 .probe = mmc_omap_probe, 1568 .probe = mmc_omap_probe,
1569 .remove = __devexit_p(mmc_omap_remove), 1569 .remove = mmc_omap_remove,
1570 .suspend = mmc_omap_suspend, 1570 .suspend = mmc_omap_suspend,
1571 .resume = mmc_omap_resume, 1571 .resume = mmc_omap_resume,
1572 .driver = { 1572 .driver = {
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index d0a912fbad3b..e1f3c1135f93 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1761,7 +1761,7 @@ static inline struct omap_mmc_platform_data
1761} 1761}
1762#endif 1762#endif
1763 1763
1764static int __devinit omap_hsmmc_probe(struct platform_device *pdev) 1764static int omap_hsmmc_probe(struct platform_device *pdev)
1765{ 1765{
1766 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data; 1766 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data;
1767 struct mmc_host *mmc; 1767 struct mmc_host *mmc;
@@ -2037,7 +2037,7 @@ err:
2037 return ret; 2037 return ret;
2038} 2038}
2039 2039
2040static int __devexit omap_hsmmc_remove(struct platform_device *pdev) 2040static int omap_hsmmc_remove(struct platform_device *pdev)
2041{ 2041{
2042 struct omap_hsmmc_host *host = platform_get_drvdata(pdev); 2042 struct omap_hsmmc_host *host = platform_get_drvdata(pdev);
2043 struct resource *res; 2043 struct resource *res;
@@ -2204,7 +2204,7 @@ static struct dev_pm_ops omap_hsmmc_dev_pm_ops = {
2204 2204
2205static struct platform_driver omap_hsmmc_driver = { 2205static struct platform_driver omap_hsmmc_driver = {
2206 .probe = omap_hsmmc_probe, 2206 .probe = omap_hsmmc_probe,
2207 .remove = __devexit_p(omap_hsmmc_remove), 2207 .remove = omap_hsmmc_remove,
2208 .driver = { 2208 .driver = {
2209 .name = DRIVER_NAME, 2209 .name = DRIVER_NAME,
2210 .owner = THIS_MODULE, 2210 .owner = THIS_MODULE,
diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c
index 3f9d6d577a91..2b2f65ada22e 100644
--- a/drivers/mmc/host/pxamci.c
+++ b/drivers/mmc/host/pxamci.c
@@ -584,7 +584,7 @@ static const struct of_device_id pxa_mmc_dt_ids[] = {
584 584
585MODULE_DEVICE_TABLE(of, pxa_mmc_dt_ids); 585MODULE_DEVICE_TABLE(of, pxa_mmc_dt_ids);
586 586
587static int __devinit pxamci_of_init(struct platform_device *pdev) 587static int pxamci_of_init(struct platform_device *pdev)
588{ 588{
589 struct device_node *np = pdev->dev.of_node; 589 struct device_node *np = pdev->dev.of_node;
590 struct pxamci_platform_data *pdata; 590 struct pxamci_platform_data *pdata;
@@ -614,7 +614,7 @@ static int __devinit pxamci_of_init(struct platform_device *pdev)
614 return 0; 614 return 0;
615} 615}
616#else 616#else
617static int __devinit pxamci_of_init(struct platform_device *pdev) 617static int pxamci_of_init(struct platform_device *pdev)
618{ 618{
619 return 0; 619 return 0;
620} 620}
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c
index 4638ddab97b8..63fb265e0da6 100644
--- a/drivers/mmc/host/s3cmci.c
+++ b/drivers/mmc/host/s3cmci.c
@@ -1540,7 +1540,7 @@ static inline void s3cmci_debugfs_remove(struct s3cmci_host *host) { }
1540 1540
1541#endif /* CONFIG_DEBUG_FS */ 1541#endif /* CONFIG_DEBUG_FS */
1542 1542
1543static int __devinit s3cmci_probe(struct platform_device *pdev) 1543static int s3cmci_probe(struct platform_device *pdev)
1544{ 1544{
1545 struct s3cmci_host *host; 1545 struct s3cmci_host *host;
1546 struct mmc_host *mmc; 1546 struct mmc_host *mmc;
@@ -1819,7 +1819,7 @@ static void s3cmci_shutdown(struct platform_device *pdev)
1819 clk_disable(host->clk); 1819 clk_disable(host->clk);
1820} 1820}
1821 1821
1822static int __devexit s3cmci_remove(struct platform_device *pdev) 1822static int s3cmci_remove(struct platform_device *pdev)
1823{ 1823{
1824 struct mmc_host *mmc = platform_get_drvdata(pdev); 1824 struct mmc_host *mmc = platform_get_drvdata(pdev);
1825 struct s3cmci_host *host = mmc_priv(mmc); 1825 struct s3cmci_host *host = mmc_priv(mmc);
@@ -1906,7 +1906,7 @@ static struct platform_driver s3cmci_driver = {
1906 }, 1906 },
1907 .id_table = s3cmci_driver_ids, 1907 .id_table = s3cmci_driver_ids,
1908 .probe = s3cmci_probe, 1908 .probe = s3cmci_probe,
1909 .remove = __devexit_p(s3cmci_remove), 1909 .remove = s3cmci_remove,
1910 .shutdown = s3cmci_shutdown, 1910 .shutdown = s3cmci_shutdown,
1911}; 1911};
1912 1912
diff --git a/drivers/mmc/host/sdhci-cns3xxx.c b/drivers/mmc/host/sdhci-cns3xxx.c
index 28a870804f60..30bfdc4ae52a 100644
--- a/drivers/mmc/host/sdhci-cns3xxx.c
+++ b/drivers/mmc/host/sdhci-cns3xxx.c
@@ -95,12 +95,12 @@ static struct sdhci_pltfm_data sdhci_cns3xxx_pdata = {
95 SDHCI_QUIRK_NONSTANDARD_CLOCK, 95 SDHCI_QUIRK_NONSTANDARD_CLOCK,
96}; 96};
97 97
98static int __devinit sdhci_cns3xxx_probe(struct platform_device *pdev) 98static int sdhci_cns3xxx_probe(struct platform_device *pdev)
99{ 99{
100 return sdhci_pltfm_register(pdev, &sdhci_cns3xxx_pdata); 100 return sdhci_pltfm_register(pdev, &sdhci_cns3xxx_pdata);
101} 101}
102 102
103static int __devexit sdhci_cns3xxx_remove(struct platform_device *pdev) 103static int sdhci_cns3xxx_remove(struct platform_device *pdev)
104{ 104{
105 return sdhci_pltfm_unregister(pdev); 105 return sdhci_pltfm_unregister(pdev);
106} 106}
@@ -112,7 +112,7 @@ static struct platform_driver sdhci_cns3xxx_driver = {
112 .pm = SDHCI_PLTFM_PMOPS, 112 .pm = SDHCI_PLTFM_PMOPS,
113 }, 113 },
114 .probe = sdhci_cns3xxx_probe, 114 .probe = sdhci_cns3xxx_probe,
115 .remove = __devexit_p(sdhci_cns3xxx_remove), 115 .remove = sdhci_cns3xxx_remove,
116}; 116};
117 117
118module_platform_driver(sdhci_cns3xxx_driver); 118module_platform_driver(sdhci_cns3xxx_driver);
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c
index e6214480bc98..169fab91778e 100644
--- a/drivers/mmc/host/sdhci-dove.c
+++ b/drivers/mmc/host/sdhci-dove.c
@@ -97,7 +97,7 @@ static struct sdhci_pltfm_data sdhci_dove_pdata = {
97 SDHCI_QUIRK_NO_HISPD_BIT, 97 SDHCI_QUIRK_NO_HISPD_BIT,
98}; 98};
99 99
100static int __devinit sdhci_dove_probe(struct platform_device *pdev) 100static int sdhci_dove_probe(struct platform_device *pdev)
101{ 101{
102 struct sdhci_host *host; 102 struct sdhci_host *host;
103 struct sdhci_pltfm_host *pltfm_host; 103 struct sdhci_pltfm_host *pltfm_host;
@@ -178,7 +178,7 @@ err_sdhci_pltfm_init:
178 return ret; 178 return ret;
179} 179}
180 180
181static int __devexit sdhci_dove_remove(struct platform_device *pdev) 181static int sdhci_dove_remove(struct platform_device *pdev)
182{ 182{
183 struct sdhci_host *host = platform_get_drvdata(pdev); 183 struct sdhci_host *host = platform_get_drvdata(pdev);
184 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); 184 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -197,7 +197,7 @@ static int __devexit sdhci_dove_remove(struct platform_device *pdev)
197 return 0; 197 return 0;
198} 198}
199 199
200static const struct of_device_id sdhci_dove_of_match_table[] __devinitdata = { 200static const struct of_device_id sdhci_dove_of_match_table[] = {
201 { .compatible = "marvell,dove-sdhci", }, 201 { .compatible = "marvell,dove-sdhci", },
202 {} 202 {}
203}; 203};
@@ -211,7 +211,7 @@ static struct platform_driver sdhci_dove_driver = {
211 .of_match_table = of_match_ptr(sdhci_dove_of_match_table), 211 .of_match_table = of_match_ptr(sdhci_dove_of_match_table),
212 }, 212 },
213 .probe = sdhci_dove_probe, 213 .probe = sdhci_dove_probe,
214 .remove = __devexit_p(sdhci_dove_remove), 214 .remove = sdhci_dove_remove,
215}; 215};
216 216
217module_platform_driver(sdhci_dove_driver); 217module_platform_driver(sdhci_dove_driver);
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 1849461c39ee..e07df812ff1e 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -403,7 +403,7 @@ static irqreturn_t cd_irq(int irq, void *data)
403}; 403};
404 404
405#ifdef CONFIG_OF 405#ifdef CONFIG_OF
406static int __devinit 406static int
407sdhci_esdhc_imx_probe_dt(struct platform_device *pdev, 407sdhci_esdhc_imx_probe_dt(struct platform_device *pdev,
408 struct esdhc_platform_data *boarddata) 408 struct esdhc_platform_data *boarddata)
409{ 409{
@@ -440,7 +440,7 @@ sdhci_esdhc_imx_probe_dt(struct platform_device *pdev,
440} 440}
441#endif 441#endif
442 442
443static int __devinit sdhci_esdhc_imx_probe(struct platform_device *pdev) 443static int sdhci_esdhc_imx_probe(struct platform_device *pdev)
444{ 444{
445 const struct of_device_id *of_id = 445 const struct of_device_id *of_id =
446 of_match_device(imx_esdhc_dt_ids, &pdev->dev); 446 of_match_device(imx_esdhc_dt_ids, &pdev->dev);
@@ -590,7 +590,7 @@ free_sdhci:
590 return err; 590 return err;
591} 591}
592 592
593static int __devexit sdhci_esdhc_imx_remove(struct platform_device *pdev) 593static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
594{ 594{
595 struct sdhci_host *host = platform_get_drvdata(pdev); 595 struct sdhci_host *host = platform_get_drvdata(pdev);
596 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); 596 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -617,7 +617,7 @@ static struct platform_driver sdhci_esdhc_imx_driver = {
617 }, 617 },
618 .id_table = imx_esdhc_devtype, 618 .id_table = imx_esdhc_devtype,
619 .probe = sdhci_esdhc_imx_probe, 619 .probe = sdhci_esdhc_imx_probe,
620 .remove = __devexit_p(sdhci_esdhc_imx_remove), 620 .remove = sdhci_esdhc_imx_remove,
621}; 621};
622 622
623module_platform_driver(sdhci_esdhc_imx_driver); 623module_platform_driver(sdhci_esdhc_imx_driver);
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
index 60de2eeb39b1..f32526d2d966 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -260,12 +260,12 @@ static struct sdhci_pltfm_data sdhci_esdhc_pdata = {
260 .ops = &sdhci_esdhc_ops, 260 .ops = &sdhci_esdhc_ops,
261}; 261};
262 262
263static int __devinit sdhci_esdhc_probe(struct platform_device *pdev) 263static int sdhci_esdhc_probe(struct platform_device *pdev)
264{ 264{
265 return sdhci_pltfm_register(pdev, &sdhci_esdhc_pdata); 265 return sdhci_pltfm_register(pdev, &sdhci_esdhc_pdata);
266} 266}
267 267
268static int __devexit sdhci_esdhc_remove(struct platform_device *pdev) 268static int sdhci_esdhc_remove(struct platform_device *pdev)
269{ 269{
270 return sdhci_pltfm_unregister(pdev); 270 return sdhci_pltfm_unregister(pdev);
271} 271}
@@ -286,7 +286,7 @@ static struct platform_driver sdhci_esdhc_driver = {
286 .pm = SDHCI_PLTFM_PMOPS, 286 .pm = SDHCI_PLTFM_PMOPS,
287 }, 287 },
288 .probe = sdhci_esdhc_probe, 288 .probe = sdhci_esdhc_probe,
289 .remove = __devexit_p(sdhci_esdhc_remove), 289 .remove = sdhci_esdhc_remove,
290}; 290};
291 291
292module_platform_driver(sdhci_esdhc_driver); 292module_platform_driver(sdhci_esdhc_driver);
diff --git a/drivers/mmc/host/sdhci-of-hlwd.c b/drivers/mmc/host/sdhci-of-hlwd.c
index 0ce088ae0228..c3d3715ec3d7 100644
--- a/drivers/mmc/host/sdhci-of-hlwd.c
+++ b/drivers/mmc/host/sdhci-of-hlwd.c
@@ -66,12 +66,12 @@ static struct sdhci_pltfm_data sdhci_hlwd_pdata = {
66 .ops = &sdhci_hlwd_ops, 66 .ops = &sdhci_hlwd_ops,
67}; 67};
68 68
69static int __devinit sdhci_hlwd_probe(struct platform_device *pdev) 69static int sdhci_hlwd_probe(struct platform_device *pdev)
70{ 70{
71 return sdhci_pltfm_register(pdev, &sdhci_hlwd_pdata); 71 return sdhci_pltfm_register(pdev, &sdhci_hlwd_pdata);
72} 72}
73 73
74static int __devexit sdhci_hlwd_remove(struct platform_device *pdev) 74static int sdhci_hlwd_remove(struct platform_device *pdev)
75{ 75{
76 return sdhci_pltfm_unregister(pdev); 76 return sdhci_pltfm_unregister(pdev);
77} 77}
@@ -90,7 +90,7 @@ static struct platform_driver sdhci_hlwd_driver = {
90 .pm = SDHCI_PLTFM_PMOPS, 90 .pm = SDHCI_PLTFM_PMOPS,
91 }, 91 },
92 .probe = sdhci_hlwd_probe, 92 .probe = sdhci_hlwd_probe,
93 .remove = __devexit_p(sdhci_hlwd_remove), 93 .remove = sdhci_hlwd_remove,
94}; 94};
95 95
96module_platform_driver(sdhci_hlwd_driver); 96module_platform_driver(sdhci_hlwd_driver);
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 0777fad997ba..c7dd0cbc99de 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -654,7 +654,7 @@ static const struct sdhci_pci_fixes sdhci_via = {
654 .probe = via_probe, 654 .probe = via_probe,
655}; 655};
656 656
657static const struct pci_device_id pci_ids[] __devinitconst = { 657static const struct pci_device_id pci_ids[] = {
658 { 658 {
659 .vendor = PCI_VENDOR_ID_RICOH, 659 .vendor = PCI_VENDOR_ID_RICOH,
660 .device = PCI_DEVICE_ID_RICOH_R5C822, 660 .device = PCI_DEVICE_ID_RICOH_R5C822,
@@ -1184,7 +1184,7 @@ static const struct dev_pm_ops sdhci_pci_pm_ops = {
1184 * * 1184 * *
1185\*****************************************************************************/ 1185\*****************************************************************************/
1186 1186
1187static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot( 1187static struct sdhci_pci_slot *sdhci_pci_probe_slot(
1188 struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar, 1188 struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar,
1189 int slotno) 1189 int slotno)
1190{ 1190{
@@ -1339,7 +1339,7 @@ static void sdhci_pci_remove_slot(struct sdhci_pci_slot *slot)
1339 sdhci_free_host(slot->host); 1339 sdhci_free_host(slot->host);
1340} 1340}
1341 1341
1342static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev) 1342static void sdhci_pci_runtime_pm_allow(struct device *dev)
1343{ 1343{
1344 pm_runtime_put_noidle(dev); 1344 pm_runtime_put_noidle(dev);
1345 pm_runtime_allow(dev); 1345 pm_runtime_allow(dev);
@@ -1348,13 +1348,13 @@ static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev)
1348 pm_suspend_ignore_children(dev, 1); 1348 pm_suspend_ignore_children(dev, 1);
1349} 1349}
1350 1350
1351static void __devexit sdhci_pci_runtime_pm_forbid(struct device *dev) 1351static void sdhci_pci_runtime_pm_forbid(struct device *dev)
1352{ 1352{
1353 pm_runtime_forbid(dev); 1353 pm_runtime_forbid(dev);
1354 pm_runtime_get_noresume(dev); 1354 pm_runtime_get_noresume(dev);
1355} 1355}
1356 1356
1357static int __devinit sdhci_pci_probe(struct pci_dev *pdev, 1357static int sdhci_pci_probe(struct pci_dev *pdev,
1358 const struct pci_device_id *ent) 1358 const struct pci_device_id *ent)
1359{ 1359{
1360 struct sdhci_pci_chip *chip; 1360 struct sdhci_pci_chip *chip;
@@ -1446,7 +1446,7 @@ err:
1446 return ret; 1446 return ret;
1447} 1447}
1448 1448
1449static void __devexit sdhci_pci_remove(struct pci_dev *pdev) 1449static void sdhci_pci_remove(struct pci_dev *pdev)
1450{ 1450{
1451 int i; 1451 int i;
1452 struct sdhci_pci_chip *chip; 1452 struct sdhci_pci_chip *chip;
@@ -1471,7 +1471,7 @@ static struct pci_driver sdhci_driver = {
1471 .name = "sdhci-pci", 1471 .name = "sdhci-pci",
1472 .id_table = pci_ids, 1472 .id_table = pci_ids,
1473 .probe = sdhci_pci_probe, 1473 .probe = sdhci_pci_probe,
1474 .remove = __devexit_p(sdhci_pci_remove), 1474 .remove = sdhci_pci_remove,
1475 .driver = { 1475 .driver = {
1476 .pm = &sdhci_pci_pm_ops 1476 .pm = &sdhci_pci_pm_ops
1477 }, 1477 },
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c
index 8e63a9c04e31..ac854aa192a8 100644
--- a/drivers/mmc/host/sdhci-pxav2.c
+++ b/drivers/mmc/host/sdhci-pxav2.c
@@ -166,7 +166,7 @@ static inline struct sdhci_pxa_platdata *pxav2_get_mmc_pdata(struct device *dev)
166} 166}
167#endif 167#endif
168 168
169static int __devinit sdhci_pxav2_probe(struct platform_device *pdev) 169static int sdhci_pxav2_probe(struct platform_device *pdev)
170{ 170{
171 struct sdhci_pltfm_host *pltfm_host; 171 struct sdhci_pltfm_host *pltfm_host;
172 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data; 172 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data;
@@ -247,7 +247,7 @@ err_clk_get:
247 return ret; 247 return ret;
248} 248}
249 249
250static int __devexit sdhci_pxav2_remove(struct platform_device *pdev) 250static int sdhci_pxav2_remove(struct platform_device *pdev)
251{ 251{
252 struct sdhci_host *host = platform_get_drvdata(pdev); 252 struct sdhci_host *host = platform_get_drvdata(pdev);
253 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); 253 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -275,7 +275,7 @@ static struct platform_driver sdhci_pxav2_driver = {
275 .pm = SDHCI_PLTFM_PMOPS, 275 .pm = SDHCI_PLTFM_PMOPS,
276 }, 276 },
277 .probe = sdhci_pxav2_probe, 277 .probe = sdhci_pxav2_probe,
278 .remove = __devexit_p(sdhci_pxav2_remove), 278 .remove = sdhci_pxav2_remove,
279}; 279};
280 280
281module_platform_driver(sdhci_pxav2_driver); 281module_platform_driver(sdhci_pxav2_driver);
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index 60829c92bcfd..fad0966427fd 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -222,7 +222,7 @@ static inline struct sdhci_pxa_platdata *pxav3_get_mmc_pdata(struct device *dev)
222} 222}
223#endif 223#endif
224 224
225static int __devinit sdhci_pxav3_probe(struct platform_device *pdev) 225static int sdhci_pxav3_probe(struct platform_device *pdev)
226{ 226{
227 struct sdhci_pltfm_host *pltfm_host; 227 struct sdhci_pltfm_host *pltfm_host;
228 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data; 228 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data;
@@ -324,7 +324,7 @@ err_clk_get:
324 return ret; 324 return ret;
325} 325}
326 326
327static int __devexit sdhci_pxav3_remove(struct platform_device *pdev) 327static int sdhci_pxav3_remove(struct platform_device *pdev)
328{ 328{
329 struct sdhci_host *host = platform_get_drvdata(pdev); 329 struct sdhci_host *host = platform_get_drvdata(pdev);
330 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); 330 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -357,7 +357,7 @@ static struct platform_driver sdhci_pxav3_driver = {
357 .pm = SDHCI_PLTFM_PMOPS, 357 .pm = SDHCI_PLTFM_PMOPS,
358 }, 358 },
359 .probe = sdhci_pxav3_probe, 359 .probe = sdhci_pxav3_probe,
360 .remove = __devexit_p(sdhci_pxav3_remove), 360 .remove = sdhci_pxav3_remove,
361}; 361};
362 362
363module_platform_driver(sdhci_pxav3_driver); 363module_platform_driver(sdhci_pxav3_driver);
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 82b7a7ad4217..82a8de148a8f 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -441,7 +441,7 @@ static void sdhci_s3c_setup_card_detect_gpio(struct sdhci_s3c *sc)
441} 441}
442 442
443#ifdef CONFIG_OF 443#ifdef CONFIG_OF
444static int __devinit sdhci_s3c_parse_dt(struct device *dev, 444static int sdhci_s3c_parse_dt(struct device *dev,
445 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata) 445 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata)
446{ 446{
447 struct device_node *node = dev->of_node; 447 struct device_node *node = dev->of_node;
@@ -532,7 +532,7 @@ static int __devinit sdhci_s3c_parse_dt(struct device *dev,
532 return 0; 532 return 0;
533} 533}
534#else 534#else
535static int __devinit sdhci_s3c_parse_dt(struct device *dev, 535static int sdhci_s3c_parse_dt(struct device *dev,
536 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata) 536 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata)
537{ 537{
538 return -EINVAL; 538 return -EINVAL;
@@ -555,7 +555,7 @@ static inline struct sdhci_s3c_drv_data *sdhci_s3c_get_driver_data(
555 platform_get_device_id(pdev)->driver_data; 555 platform_get_device_id(pdev)->driver_data;
556} 556}
557 557
558static int __devinit sdhci_s3c_probe(struct platform_device *pdev) 558static int sdhci_s3c_probe(struct platform_device *pdev)
559{ 559{
560 struct s3c_sdhci_platdata *pdata; 560 struct s3c_sdhci_platdata *pdata;
561 struct sdhci_s3c_drv_data *drv_data; 561 struct sdhci_s3c_drv_data *drv_data;
@@ -781,7 +781,7 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
781 return ret; 781 return ret;
782} 782}
783 783
784static int __devexit sdhci_s3c_remove(struct platform_device *pdev) 784static int sdhci_s3c_remove(struct platform_device *pdev)
785{ 785{
786 struct sdhci_host *host = platform_get_drvdata(pdev); 786 struct sdhci_host *host = platform_get_drvdata(pdev);
787 struct sdhci_s3c *sc = sdhci_priv(host); 787 struct sdhci_s3c *sc = sdhci_priv(host);
@@ -911,7 +911,7 @@ MODULE_DEVICE_TABLE(of, sdhci_s3c_dt_match);
911 911
912static struct platform_driver sdhci_s3c_driver = { 912static struct platform_driver sdhci_s3c_driver = {
913 .probe = sdhci_s3c_probe, 913 .probe = sdhci_s3c_probe,
914 .remove = __devexit_p(sdhci_s3c_remove), 914 .remove = sdhci_s3c_remove,
915 .id_table = sdhci_s3c_driver_ids, 915 .id_table = sdhci_s3c_driver_ids,
916 .driver = { 916 .driver = {
917 .owner = THIS_MODULE, 917 .owner = THIS_MODULE,
diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
index 87a700944b7d..c6ece0bd03b3 100644
--- a/drivers/mmc/host/sdhci-spear.c
+++ b/drivers/mmc/host/sdhci-spear.c
@@ -71,8 +71,7 @@ static irqreturn_t sdhci_gpio_irq(int irq, void *dev_id)
71} 71}
72 72
73#ifdef CONFIG_OF 73#ifdef CONFIG_OF
74static struct sdhci_plat_data * __devinit 74static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev)
75sdhci_probe_config_dt(struct platform_device *pdev)
76{ 75{
77 struct device_node *np = pdev->dev.of_node; 76 struct device_node *np = pdev->dev.of_node;
78 struct sdhci_plat_data *pdata = NULL; 77 struct sdhci_plat_data *pdata = NULL;
@@ -96,14 +95,13 @@ sdhci_probe_config_dt(struct platform_device *pdev)
96 return pdata; 95 return pdata;
97} 96}
98#else 97#else
99static struct sdhci_plat_data * __devinit 98static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev)
100sdhci_probe_config_dt(struct platform_device *pdev)
101{ 99{
102 return ERR_PTR(-ENOSYS); 100 return ERR_PTR(-ENOSYS);
103} 101}
104#endif 102#endif
105 103
106static int __devinit sdhci_probe(struct platform_device *pdev) 104static int sdhci_probe(struct platform_device *pdev)
107{ 105{
108 struct device_node *np = pdev->dev.of_node; 106 struct device_node *np = pdev->dev.of_node;
109 struct sdhci_host *host; 107 struct sdhci_host *host;
@@ -273,7 +271,7 @@ err:
273 return ret; 271 return ret;
274} 272}
275 273
276static int __devexit sdhci_remove(struct platform_device *pdev) 274static int sdhci_remove(struct platform_device *pdev)
277{ 275{
278 struct sdhci_host *host = platform_get_drvdata(pdev); 276 struct sdhci_host *host = platform_get_drvdata(pdev);
279 struct spear_sdhci *sdhci = dev_get_platdata(&pdev->dev); 277 struct spear_sdhci *sdhci = dev_get_platdata(&pdev->dev);
@@ -341,7 +339,7 @@ static struct platform_driver sdhci_driver = {
341 .of_match_table = of_match_ptr(sdhci_spear_id_table), 339 .of_match_table = of_match_ptr(sdhci_spear_id_table),
342 }, 340 },
343 .probe = sdhci_probe, 341 .probe = sdhci_probe,
344 .remove = __devexit_p(sdhci_remove), 342 .remove = sdhci_remove,
345}; 343};
346 344
347module_platform_driver(sdhci_driver); 345module_platform_driver(sdhci_driver);
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index f9eb91623701..3695b2e0cbd2 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -206,7 +206,7 @@ static struct sdhci_tegra_soc_data soc_data_tegra30 = {
206}; 206};
207#endif 207#endif
208 208
209static const struct of_device_id sdhci_tegra_dt_match[] __devinitdata = { 209static const struct of_device_id sdhci_tegra_dt_match[] = {
210#ifdef CONFIG_ARCH_TEGRA_3x_SOC 210#ifdef CONFIG_ARCH_TEGRA_3x_SOC
211 { .compatible = "nvidia,tegra30-sdhci", .data = &soc_data_tegra30 }, 211 { .compatible = "nvidia,tegra30-sdhci", .data = &soc_data_tegra30 },
212#endif 212#endif
@@ -217,7 +217,7 @@ static const struct of_device_id sdhci_tegra_dt_match[] __devinitdata = {
217}; 217};
218MODULE_DEVICE_TABLE(of, sdhci_dt_ids); 218MODULE_DEVICE_TABLE(of, sdhci_dt_ids);
219 219
220static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata( 220static struct tegra_sdhci_platform_data *sdhci_tegra_dt_parse_pdata(
221 struct platform_device *pdev) 221 struct platform_device *pdev)
222{ 222{
223 struct tegra_sdhci_platform_data *plat; 223 struct tegra_sdhci_platform_data *plat;
@@ -244,7 +244,7 @@ static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata(
244 return plat; 244 return plat;
245} 245}
246 246
247static int __devinit sdhci_tegra_probe(struct platform_device *pdev) 247static int sdhci_tegra_probe(struct platform_device *pdev)
248{ 248{
249 const struct of_device_id *match; 249 const struct of_device_id *match;
250 const struct sdhci_tegra_soc_data *soc_data; 250 const struct sdhci_tegra_soc_data *soc_data;
@@ -370,7 +370,7 @@ err_no_plat:
370 return rc; 370 return rc;
371} 371}
372 372
373static int __devexit sdhci_tegra_remove(struct platform_device *pdev) 373static int sdhci_tegra_remove(struct platform_device *pdev)
374{ 374{
375 struct sdhci_host *host = platform_get_drvdata(pdev); 375 struct sdhci_host *host = platform_get_drvdata(pdev);
376 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); 376 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -407,7 +407,7 @@ static struct platform_driver sdhci_tegra_driver = {
407 .pm = SDHCI_PLTFM_PMOPS, 407 .pm = SDHCI_PLTFM_PMOPS,
408 }, 408 },
409 .probe = sdhci_tegra_probe, 409 .probe = sdhci_tegra_probe,
410 .remove = __devexit_p(sdhci_tegra_remove), 410 .remove = sdhci_tegra_remove,
411}; 411};
412 412
413module_platform_driver(sdhci_tegra_driver); 413module_platform_driver(sdhci_tegra_driver);
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index ae795233a1d6..9a4c151067dd 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -1298,7 +1298,7 @@ static void sh_mmcif_init_ocr(struct sh_mmcif_host *host)
1298 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n"); 1298 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n");
1299} 1299}
1300 1300
1301static int __devinit sh_mmcif_probe(struct platform_device *pdev) 1301static int sh_mmcif_probe(struct platform_device *pdev)
1302{ 1302{
1303 int ret = 0, irq[2]; 1303 int ret = 0, irq[2];
1304 struct mmc_host *mmc; 1304 struct mmc_host *mmc;
@@ -1424,7 +1424,7 @@ ealloch:
1424 return ret; 1424 return ret;
1425} 1425}
1426 1426
1427static int __devexit sh_mmcif_remove(struct platform_device *pdev) 1427static int sh_mmcif_remove(struct platform_device *pdev)
1428{ 1428{
1429 struct sh_mmcif_host *host = platform_get_drvdata(pdev); 1429 struct sh_mmcif_host *host = platform_get_drvdata(pdev);
1430 struct sh_mmcif_plat_data *pd = pdev->dev.platform_data; 1430 struct sh_mmcif_plat_data *pd = pdev->dev.platform_data;
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index d6ff8531fb35..524a7f773820 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
@@ -117,7 +117,7 @@ static const struct sh_mobile_sdhi_ops sdhi_ops = {
117 .cd_wakeup = sh_mobile_sdhi_cd_wakeup, 117 .cd_wakeup = sh_mobile_sdhi_cd_wakeup,
118}; 118};
119 119
120static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev) 120static int sh_mobile_sdhi_probe(struct platform_device *pdev)
121{ 121{
122 struct sh_mobile_sdhi *priv; 122 struct sh_mobile_sdhi *priv;
123 struct tmio_mmc_data *mmc_data; 123 struct tmio_mmc_data *mmc_data;
@@ -328,7 +328,7 @@ static struct platform_driver sh_mobile_sdhi_driver = {
328 .of_match_table = sh_mobile_sdhi_of_match, 328 .of_match_table = sh_mobile_sdhi_of_match,
329 }, 329 },
330 .probe = sh_mobile_sdhi_probe, 330 .probe = sh_mobile_sdhi_probe,
331 .remove = __devexit_p(sh_mobile_sdhi_remove), 331 .remove = sh_mobile_sdhi_remove,
332}; 332};
333 333
334module_platform_driver(sh_mobile_sdhi_driver); 334module_platform_driver(sh_mobile_sdhi_driver);
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 113ce6c9cf32..139212e79cde 100644
--- a/drivers/mmc/host/tmio_mmc.c
+++ b/drivers/mmc/host/tmio_mmc.c
@@ -57,7 +57,7 @@ static int tmio_mmc_resume(struct platform_device *dev)
57#define tmio_mmc_resume NULL 57#define tmio_mmc_resume NULL
58#endif 58#endif
59 59
60static int __devinit tmio_mmc_probe(struct platform_device *pdev) 60static int tmio_mmc_probe(struct platform_device *pdev)
61{ 61{
62 const struct mfd_cell *cell = mfd_get_cell(pdev); 62 const struct mfd_cell *cell = mfd_get_cell(pdev);
63 struct tmio_mmc_data *pdata; 63 struct tmio_mmc_data *pdata;
@@ -107,7 +107,7 @@ out:
107 return ret; 107 return ret;
108} 108}
109 109
110static int __devexit tmio_mmc_remove(struct platform_device *pdev) 110static int tmio_mmc_remove(struct platform_device *pdev)
111{ 111{
112 const struct mfd_cell *cell = mfd_get_cell(pdev); 112 const struct mfd_cell *cell = mfd_get_cell(pdev);
113 struct mmc_host *mmc = platform_get_drvdata(pdev); 113 struct mmc_host *mmc = platform_get_drvdata(pdev);
@@ -133,7 +133,7 @@ static struct platform_driver tmio_mmc_driver = {
133 .owner = THIS_MODULE, 133 .owner = THIS_MODULE,
134 }, 134 },
135 .probe = tmio_mmc_probe, 135 .probe = tmio_mmc_probe,
136 .remove = __devexit_p(tmio_mmc_remove), 136 .remove = tmio_mmc_remove,
137 .suspend = tmio_mmc_suspend, 137 .suspend = tmio_mmc_suspend,
138 .resume = tmio_mmc_resume, 138 .resume = tmio_mmc_resume,
139}; 139};
diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c
index 0d8a9bbe30be..50bf495a988b 100644
--- a/drivers/mmc/host/tmio_mmc_pio.c
+++ b/drivers/mmc/host/tmio_mmc_pio.c
@@ -918,7 +918,7 @@ static void tmio_mmc_init_ocr(struct tmio_mmc_host *host)
918 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n"); 918 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n");
919} 919}
920 920
921int __devinit tmio_mmc_host_probe(struct tmio_mmc_host **host, 921int tmio_mmc_host_probe(struct tmio_mmc_host **host,
922 struct platform_device *pdev, 922 struct platform_device *pdev,
923 struct tmio_mmc_data *pdata) 923 struct tmio_mmc_data *pdata)
924{ 924{
diff --git a/drivers/mmc/host/via-sdmmc.c b/drivers/mmc/host/via-sdmmc.c
index f18becef156d..4f84586c6e9e 100644
--- a/drivers/mmc/host/via-sdmmc.c
+++ b/drivers/mmc/host/via-sdmmc.c
@@ -1082,7 +1082,7 @@ static void via_init_mmc_host(struct via_crdr_mmc_host *host)
1082 msleep(1); 1082 msleep(1);
1083} 1083}
1084 1084
1085static int __devinit via_sd_probe(struct pci_dev *pcidev, 1085static int via_sd_probe(struct pci_dev *pcidev,
1086 const struct pci_device_id *id) 1086 const struct pci_device_id *id)
1087{ 1087{
1088 struct mmc_host *mmc; 1088 struct mmc_host *mmc;
@@ -1176,7 +1176,7 @@ disable:
1176 return ret; 1176 return ret;
1177} 1177}
1178 1178
1179static void __devexit via_sd_remove(struct pci_dev *pcidev) 1179static void via_sd_remove(struct pci_dev *pcidev)
1180{ 1180{
1181 struct via_crdr_mmc_host *sdhost = pci_get_drvdata(pcidev); 1181 struct via_crdr_mmc_host *sdhost = pci_get_drvdata(pcidev);
1182 unsigned long flags; 1182 unsigned long flags;
@@ -1332,7 +1332,7 @@ static struct pci_driver via_sd_driver = {
1332 .name = DRV_NAME, 1332 .name = DRV_NAME,
1333 .id_table = via_ids, 1333 .id_table = via_ids,
1334 .probe = via_sd_probe, 1334 .probe = via_sd_probe,
1335 .remove = __devexit_p(via_sd_remove), 1335 .remove = via_sd_remove,
1336 .suspend = via_sd_suspend, 1336 .suspend = via_sd_suspend,
1337 .resume = via_sd_resume, 1337 .resume = via_sd_resume,
1338}; 1338};
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c
index 64acd9ce141c..e954b7758876 100644
--- a/drivers/mmc/host/wbsd.c
+++ b/drivers/mmc/host/wbsd.c
@@ -1196,7 +1196,7 @@ static irqreturn_t wbsd_irq(int irq, void *dev_id)
1196 * Allocate/free MMC structure. 1196 * Allocate/free MMC structure.
1197 */ 1197 */
1198 1198
1199static int __devinit wbsd_alloc_mmc(struct device *dev) 1199static int wbsd_alloc_mmc(struct device *dev)
1200{ 1200{
1201 struct mmc_host *mmc; 1201 struct mmc_host *mmc;
1202 struct wbsd_host *host; 1202 struct wbsd_host *host;
@@ -1288,7 +1288,7 @@ static void wbsd_free_mmc(struct device *dev)
1288 * Scan for known chip id:s 1288 * Scan for known chip id:s
1289 */ 1289 */
1290 1290
1291static int __devinit wbsd_scan(struct wbsd_host *host) 1291static int wbsd_scan(struct wbsd_host *host)
1292{ 1292{
1293 int i, j, k; 1293 int i, j, k;
1294 int id; 1294 int id;
@@ -1344,7 +1344,7 @@ static int __devinit wbsd_scan(struct wbsd_host *host)
1344 * Allocate/free io port ranges 1344 * Allocate/free io port ranges
1345 */ 1345 */
1346 1346
1347static int __devinit wbsd_request_region(struct wbsd_host *host, int base) 1347static int wbsd_request_region(struct wbsd_host *host, int base)
1348{ 1348{
1349 if (base & 0x7) 1349 if (base & 0x7)
1350 return -EINVAL; 1350 return -EINVAL;
@@ -1374,7 +1374,7 @@ static void wbsd_release_regions(struct wbsd_host *host)
1374 * Allocate/free DMA port and buffer 1374 * Allocate/free DMA port and buffer
1375 */ 1375 */
1376 1376
1377static void __devinit wbsd_request_dma(struct wbsd_host *host, int dma) 1377static void wbsd_request_dma(struct wbsd_host *host, int dma)
1378{ 1378{
1379 if (dma < 0) 1379 if (dma < 0)
1380 return; 1380 return;
@@ -1452,7 +1452,7 @@ static void wbsd_release_dma(struct wbsd_host *host)
1452 * Allocate/free IRQ. 1452 * Allocate/free IRQ.
1453 */ 1453 */
1454 1454
1455static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq) 1455static int wbsd_request_irq(struct wbsd_host *host, int irq)
1456{ 1456{
1457 int ret; 1457 int ret;
1458 1458
@@ -1502,7 +1502,7 @@ static void wbsd_release_irq(struct wbsd_host *host)
1502 * Allocate all resources for the host. 1502 * Allocate all resources for the host.
1503 */ 1503 */
1504 1504
1505static int __devinit wbsd_request_resources(struct wbsd_host *host, 1505static int wbsd_request_resources(struct wbsd_host *host,
1506 int base, int irq, int dma) 1506 int base, int irq, int dma)
1507{ 1507{
1508 int ret; 1508 int ret;
@@ -1644,7 +1644,7 @@ static void wbsd_chip_poweroff(struct wbsd_host *host)
1644 * * 1644 * *
1645\*****************************************************************************/ 1645\*****************************************************************************/
1646 1646
1647static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma, 1647static int wbsd_init(struct device *dev, int base, int irq, int dma,
1648 int pnp) 1648 int pnp)
1649{ 1649{
1650 struct wbsd_host *host = NULL; 1650 struct wbsd_host *host = NULL;
@@ -1735,7 +1735,7 @@ static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma,
1735 return 0; 1735 return 0;
1736} 1736}
1737 1737
1738static void __devexit wbsd_shutdown(struct device *dev, int pnp) 1738static void wbsd_shutdown(struct device *dev, int pnp)
1739{ 1739{
1740 struct mmc_host *mmc = dev_get_drvdata(dev); 1740 struct mmc_host *mmc = dev_get_drvdata(dev);
1741 struct wbsd_host *host; 1741 struct wbsd_host *host;
@@ -1762,13 +1762,13 @@ static void __devexit wbsd_shutdown(struct device *dev, int pnp)
1762 * Non-PnP 1762 * Non-PnP
1763 */ 1763 */
1764 1764
1765static int __devinit wbsd_probe(struct platform_device *dev) 1765static int wbsd_probe(struct platform_device *dev)
1766{ 1766{
1767 /* Use the module parameters for resources */ 1767 /* Use the module parameters for resources */
1768 return wbsd_init(&dev->dev, param_io, param_irq, param_dma, 0); 1768 return wbsd_init(&dev->dev, param_io, param_irq, param_dma, 0);
1769} 1769}
1770 1770
1771static int __devexit wbsd_remove(struct platform_device *dev) 1771static int wbsd_remove(struct platform_device *dev)
1772{ 1772{
1773 wbsd_shutdown(&dev->dev, 0); 1773 wbsd_shutdown(&dev->dev, 0);
1774 1774
@@ -1781,7 +1781,7 @@ static int __devexit wbsd_remove(struct platform_device *dev)
1781 1781
1782#ifdef CONFIG_PNP 1782#ifdef CONFIG_PNP
1783 1783
1784static int __devinit 1784static int
1785wbsd_pnp_probe(struct pnp_dev *pnpdev, const struct pnp_device_id *dev_id) 1785wbsd_pnp_probe(struct pnp_dev *pnpdev, const struct pnp_device_id *dev_id)
1786{ 1786{
1787 int io, irq, dma; 1787 int io, irq, dma;
@@ -1801,7 +1801,7 @@ wbsd_pnp_probe(struct pnp_dev *pnpdev, const struct pnp_device_id *dev_id)
1801 return wbsd_init(&pnpdev->dev, io, irq, dma, 1); 1801 return wbsd_init(&pnpdev->dev, io, irq, dma, 1);
1802} 1802}
1803 1803
1804static void __devexit wbsd_pnp_remove(struct pnp_dev *dev) 1804static void wbsd_pnp_remove(struct pnp_dev *dev)
1805{ 1805{
1806 wbsd_shutdown(&dev->dev, 1); 1806 wbsd_shutdown(&dev->dev, 1);
1807} 1807}
@@ -1941,7 +1941,7 @@ static struct platform_device *wbsd_device;
1941 1941
1942static struct platform_driver wbsd_driver = { 1942static struct platform_driver wbsd_driver = {
1943 .probe = wbsd_probe, 1943 .probe = wbsd_probe,
1944 .remove = __devexit_p(wbsd_remove), 1944 .remove = wbsd_remove,
1945 1945
1946 .suspend = wbsd_platform_suspend, 1946 .suspend = wbsd_platform_suspend,
1947 .resume = wbsd_platform_resume, 1947 .resume = wbsd_platform_resume,
@@ -1957,7 +1957,7 @@ static struct pnp_driver wbsd_pnp_driver = {
1957 .name = DRIVER_NAME, 1957 .name = DRIVER_NAME,
1958 .id_table = pnp_dev_table, 1958 .id_table = pnp_dev_table,
1959 .probe = wbsd_pnp_probe, 1959 .probe = wbsd_pnp_probe,
1960 .remove = __devexit_p(wbsd_pnp_remove), 1960 .remove = wbsd_pnp_remove,
1961 1961
1962 .suspend = wbsd_pnp_suspend, 1962 .suspend = wbsd_pnp_suspend,
1963 .resume = wbsd_pnp_resume, 1963 .resume = wbsd_pnp_resume,