aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-11-19 13:23:06 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-28 15:28:18 -0500
commitc3be1efd41a97f93be390240387d356a07b664c7 (patch)
tree92f92de6c14e8a564855649662489ea9a9aada38 /drivers/mmc
parent0433c14356702e296f474f77ebd42f0a9d9a5487 (diff)
mmc: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Chris Ball <cjb@laptop.org> Cc: Manuel Lauss <manuel.lauss@gmail.com> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com> Cc: Venkatraman S <svenkatr@ti.com> Cc: Ian Molton <ian@mnementh.co.uk> Cc: Bruce Chang <brucechang@via.com.tw> Cc: Harald Welte <HaraldWelte@viatech.com> Cc: Pierre Ossman <pierre@ossman.eu> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/atmel-mci.c2
-rw-r--r--drivers/mmc/host/au1xmmc.c2
-rw-r--r--drivers/mmc/host/bfin_sdh.c2
-rw-r--r--drivers/mmc/host/cb710-mmc.c2
-rw-r--r--drivers/mmc/host/dw_mmc-pci.c2
-rw-r--r--drivers/mmc/host/dw_mmc-pltfm.c2
-rw-r--r--drivers/mmc/host/jz4740_mmc.c8
-rw-r--r--drivers/mmc/host/mmci.c6
-rw-r--r--drivers/mmc/host/omap.c4
-rw-r--r--drivers/mmc/host/omap_hsmmc.c2
-rw-r--r--drivers/mmc/host/pxamci.c4
-rw-r--r--drivers/mmc/host/s3cmci.c2
-rw-r--r--drivers/mmc/host/sdhci-cns3xxx.c2
-rw-r--r--drivers/mmc/host/sdhci-dove.c2
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c4
-rw-r--r--drivers/mmc/host/sdhci-of-esdhc.c2
-rw-r--r--drivers/mmc/host/sdhci-of-hlwd.c2
-rw-r--r--drivers/mmc/host/sdhci-pci.c6
-rw-r--r--drivers/mmc/host/sdhci-pxav2.c2
-rw-r--r--drivers/mmc/host/sdhci-pxav3.c2
-rw-r--r--drivers/mmc/host/sdhci-s3c.c6
-rw-r--r--drivers/mmc/host/sdhci-spear.c8
-rw-r--r--drivers/mmc/host/sdhci-tegra.c4
-rw-r--r--drivers/mmc/host/sh_mmcif.c2
-rw-r--r--drivers/mmc/host/sh_mobile_sdhi.c2
-rw-r--r--drivers/mmc/host/tmio_mmc.c2
-rw-r--r--drivers/mmc/host/tmio_mmc_pio.c2
-rw-r--r--drivers/mmc/host/via-sdmmc.c2
-rw-r--r--drivers/mmc/host/wbsd.c18
29 files changed, 52 insertions, 54 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..606c16a6c639 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;
diff --git a/drivers/mmc/host/bfin_sdh.c b/drivers/mmc/host/bfin_sdh.c
index 156ebe7d6fd0..4ef3901451b4 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;
diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c
index 39280b5756e8..c12a5615ab9b 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);
diff --git a/drivers/mmc/host/dw_mmc-pci.c b/drivers/mmc/host/dw_mmc-pci.c
index edb37e9135ae..324c8bfeb7ec 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;
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c
index 917936bee5d5..867977f69841 100644
--- a/drivers/mmc/host/dw_mmc-pltfm.c
+++ b/drivers/mmc/host/dw_mmc-pltfm.c
@@ -62,7 +62,7 @@ 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}
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index 31cf20f0eaaa..81826be41bc7 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;
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 3ca6757fbebd..5e3e05dfa57f 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 __devexit 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;
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c
index 3531a193d8d5..e18441b63bf2 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;
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 58b4cf0f79a9..3bebdff21668 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1715,7 +1715,7 @@ static inline struct omap_mmc_platform_data
1715} 1715}
1716#endif 1716#endif
1717 1717
1718static int __devinit omap_hsmmc_probe(struct platform_device *pdev) 1718static int omap_hsmmc_probe(struct platform_device *pdev)
1719{ 1719{
1720 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data; 1720 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data;
1721 struct mmc_host *mmc; 1721 struct mmc_host *mmc;
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 a5fe5b243680..b846a975408a 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;
diff --git a/drivers/mmc/host/sdhci-cns3xxx.c b/drivers/mmc/host/sdhci-cns3xxx.c
index 9236fa9d504c..ce959dcfa7b2 100644
--- a/drivers/mmc/host/sdhci-cns3xxx.c
+++ b/drivers/mmc/host/sdhci-cns3xxx.c
@@ -95,7 +95,7 @@ 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}
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c
index 7ad1bb6cf6a0..334ec5cd98a4 100644
--- a/drivers/mmc/host/sdhci-dove.c
+++ b/drivers/mmc/host/sdhci-dove.c
@@ -78,7 +78,7 @@ static struct sdhci_pltfm_data sdhci_dove_pdata = {
78 SDHCI_QUIRK_NO_HISPD_BIT, 78 SDHCI_QUIRK_NO_HISPD_BIT,
79}; 79};
80 80
81static int __devinit sdhci_dove_probe(struct platform_device *pdev) 81static int sdhci_dove_probe(struct platform_device *pdev)
82{ 82{
83 struct sdhci_host *host; 83 struct sdhci_host *host;
84 struct sdhci_pltfm_host *pltfm_host; 84 struct sdhci_pltfm_host *pltfm_host;
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 6a4e98e60009..cd741bbde505 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);
diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
index d7eb4ed307e7..1aceed7d5a60 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -208,7 +208,7 @@ static struct sdhci_pltfm_data sdhci_esdhc_pdata = {
208 .ops = &sdhci_esdhc_ops, 208 .ops = &sdhci_esdhc_ops,
209}; 209};
210 210
211static int __devinit sdhci_esdhc_probe(struct platform_device *pdev) 211static int sdhci_esdhc_probe(struct platform_device *pdev)
212{ 212{
213 return sdhci_pltfm_register(pdev, &sdhci_esdhc_pdata); 213 return sdhci_pltfm_register(pdev, &sdhci_esdhc_pdata);
214} 214}
diff --git a/drivers/mmc/host/sdhci-of-hlwd.c b/drivers/mmc/host/sdhci-of-hlwd.c
index 3b6806902ac9..aa78f3c27164 100644
--- a/drivers/mmc/host/sdhci-of-hlwd.c
+++ b/drivers/mmc/host/sdhci-of-hlwd.c
@@ -66,7 +66,7 @@ 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}
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index 7bc2270d9f91..ff9165178325 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -1183,7 +1183,7 @@ static const struct dev_pm_ops sdhci_pci_pm_ops = {
1183 * * 1183 * *
1184\*****************************************************************************/ 1184\*****************************************************************************/
1185 1185
1186static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot( 1186static struct sdhci_pci_slot *sdhci_pci_probe_slot(
1187 struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar, 1187 struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar,
1188 int slotno) 1188 int slotno)
1189{ 1189{
@@ -1338,7 +1338,7 @@ static void sdhci_pci_remove_slot(struct sdhci_pci_slot *slot)
1338 sdhci_free_host(slot->host); 1338 sdhci_free_host(slot->host);
1339} 1339}
1340 1340
1341static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev) 1341static void sdhci_pci_runtime_pm_allow(struct device *dev)
1342{ 1342{
1343 pm_runtime_put_noidle(dev); 1343 pm_runtime_put_noidle(dev);
1344 pm_runtime_allow(dev); 1344 pm_runtime_allow(dev);
@@ -1353,7 +1353,7 @@ static void __devexit sdhci_pci_runtime_pm_forbid(struct device *dev)
1353 pm_runtime_get_noresume(dev); 1353 pm_runtime_get_noresume(dev);
1354} 1354}
1355 1355
1356static int __devinit sdhci_pci_probe(struct pci_dev *pdev, 1356static int sdhci_pci_probe(struct pci_dev *pdev,
1357 const struct pci_device_id *ent) 1357 const struct pci_device_id *ent)
1358{ 1358{
1359 struct sdhci_pci_chip *chip; 1359 struct sdhci_pci_chip *chip;
diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c
index 964fc6d0a81a..7d4dc1946312 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;
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index a46cb67b1c33..e89c80901f30 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -214,7 +214,7 @@ static inline struct sdhci_pxa_platdata *pxav3_get_mmc_pdata(struct device *dev)
214} 214}
215#endif 215#endif
216 216
217static int __devinit sdhci_pxav3_probe(struct platform_device *pdev) 217static int sdhci_pxav3_probe(struct platform_device *pdev)
218{ 218{
219 struct sdhci_pltfm_host *pltfm_host; 219 struct sdhci_pltfm_host *pltfm_host;
220 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data; 220 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data;
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index b62a0c12fa8b..f5dde9eb7989 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -430,7 +430,7 @@ static void sdhci_s3c_setup_card_detect_gpio(struct sdhci_s3c *sc)
430} 430}
431 431
432#ifdef CONFIG_OF 432#ifdef CONFIG_OF
433static int __devinit sdhci_s3c_parse_dt(struct device *dev, 433static int sdhci_s3c_parse_dt(struct device *dev,
434 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata) 434 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata)
435{ 435{
436 struct device_node *node = dev->of_node; 436 struct device_node *node = dev->of_node;
@@ -525,7 +525,7 @@ static int __devinit sdhci_s3c_parse_dt(struct device *dev,
525 return -EINVAL; 525 return -EINVAL;
526} 526}
527#else 527#else
528static int __devinit sdhci_s3c_parse_dt(struct device *dev, 528static int sdhci_s3c_parse_dt(struct device *dev,
529 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata) 529 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata)
530{ 530{
531 return -EINVAL; 531 return -EINVAL;
@@ -548,7 +548,7 @@ static inline struct sdhci_s3c_drv_data *sdhci_s3c_get_driver_data(
548 platform_get_device_id(pdev)->driver_data; 548 platform_get_device_id(pdev)->driver_data;
549} 549}
550 550
551static int __devinit sdhci_s3c_probe(struct platform_device *pdev) 551static int sdhci_s3c_probe(struct platform_device *pdev)
552{ 552{
553 struct s3c_sdhci_platdata *pdata; 553 struct s3c_sdhci_platdata *pdata;
554 struct sdhci_s3c_drv_data *drv_data; 554 struct sdhci_s3c_drv_data *drv_data;
diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
index 3ba9479712ff..3fd18964145a 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;
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index f2843549bf0f..339c41e24d87 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -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;
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index d25bc97dc5c6..9872b52332f8 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -1302,7 +1302,7 @@ static void sh_mmcif_init_ocr(struct sh_mmcif_host *host)
1302 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n"); 1302 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n");
1303} 1303}
1304 1304
1305static int __devinit sh_mmcif_probe(struct platform_device *pdev) 1305static int sh_mmcif_probe(struct platform_device *pdev)
1306{ 1306{
1307 int ret = 0, irq[2]; 1307 int ret = 0, irq[2];
1308 struct mmc_host *mmc; 1308 struct mmc_host *mmc;
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 6a9a625503b3..9125684103a7 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;
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
index 2f9bbdf5689c..f415be885654 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;
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 d8f8a5ec03f4..1f1a252184a7 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;
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c
index 3c8ef5994073..d71358a2695d 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;
@@ -1762,7 +1762,7 @@ 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);
@@ -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;