diff options
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 | ||
512 | MODULE_DEVICE_TABLE(of, atmci_dt_ids); | 512 | MODULE_DEVICE_TABLE(of, atmci_dt_ids); |
513 | 513 | ||
514 | static struct mci_platform_data __devinit* | 514 | static struct mci_platform_data* |
515 | atmci_of_init(struct platform_device *pdev) | 515 | atmci_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 | ||
946 | static int __devinit au1xmmc_probe(struct platform_device *pdev) | 946 | static 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 | ||
525 | static int __devinit sdh_probe(struct platform_device *pdev) | 525 | static 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 | ||
693 | static int __devinit cb710_mmc_init(struct platform_device *pdev) | 693 | static 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 | ||
40 | static int __devinit dw_mci_pci_probe(struct pci_dev *pdev, | 40 | static 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 | } |
63 | EXPORT_SYMBOL_GPL(dw_mci_pltfm_register); | 63 | EXPORT_SYMBOL_GPL(dw_mci_pltfm_register); |
64 | 64 | ||
65 | static int __devinit dw_mci_pltfm_probe(struct platform_device *pdev) | 65 | static 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 | ||
705 | static int __devinit jz4740_mmc_request_gpio(struct device *dev, int gpio, | 705 | static 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 | ||
727 | static int __devinit jz4740_mmc_request_gpios(struct platform_device *pdev) | 727 | static 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 | ||
762 | static int __devinit jz4740_mmc_request_cd_irq(struct platform_device *pdev, | 762 | static 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 | ||
805 | static int __devinit jz4740_mmc_probe(struct platform_device* pdev) | 805 | static 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 |
264 | static void __devinit mmci_dma_setup(struct mmci_host *host) | 264 | static 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 | */ |
343 | static inline void mmci_dma_release(struct mmci_host *host) | 343 | static 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 | ||
1258 | static int __devinit mmci_probe(struct amba_device *dev, | 1258 | static 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 | ||
1217 | static int __devinit mmc_omap_new_slot(struct mmc_omap_host *host, int id) | 1217 | static 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 | ||
1312 | static int __devinit mmc_omap_probe(struct platform_device *pdev) | 1312 | static 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 | ||
1718 | static int __devinit omap_hsmmc_probe(struct platform_device *pdev) | 1718 | static 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 | ||
585 | MODULE_DEVICE_TABLE(of, pxa_mmc_dt_ids); | 585 | MODULE_DEVICE_TABLE(of, pxa_mmc_dt_ids); |
586 | 586 | ||
587 | static int __devinit pxamci_of_init(struct platform_device *pdev) | 587 | static 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 |
617 | static int __devinit pxamci_of_init(struct platform_device *pdev) | 617 | static 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 | ||
1543 | static int __devinit s3cmci_probe(struct platform_device *pdev) | 1543 | static 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 | ||
98 | static int __devinit sdhci_cns3xxx_probe(struct platform_device *pdev) | 98 | static 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 | ||
81 | static int __devinit sdhci_dove_probe(struct platform_device *pdev) | 81 | static 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 |
406 | static int __devinit | 406 | static int |
407 | sdhci_esdhc_imx_probe_dt(struct platform_device *pdev, | 407 | sdhci_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 | ||
443 | static int __devinit sdhci_esdhc_imx_probe(struct platform_device *pdev) | 443 | static 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 | ||
211 | static int __devinit sdhci_esdhc_probe(struct platform_device *pdev) | 211 | static 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 | ||
69 | static int __devinit sdhci_hlwd_probe(struct platform_device *pdev) | 69 | static 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 | ||
1186 | static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot( | 1186 | static 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 | ||
1341 | static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev) | 1341 | static 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 | ||
1356 | static int __devinit sdhci_pci_probe(struct pci_dev *pdev, | 1356 | static 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 | ||
169 | static int __devinit sdhci_pxav2_probe(struct platform_device *pdev) | 169 | static 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 | ||
217 | static int __devinit sdhci_pxav3_probe(struct platform_device *pdev) | 217 | static 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 |
433 | static int __devinit sdhci_s3c_parse_dt(struct device *dev, | 433 | static 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 |
528 | static int __devinit sdhci_s3c_parse_dt(struct device *dev, | 528 | static 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 | ||
551 | static int __devinit sdhci_s3c_probe(struct platform_device *pdev) | 551 | static 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 |
74 | static struct sdhci_plat_data * __devinit | 74 | static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev) |
75 | sdhci_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 |
99 | static struct sdhci_plat_data * __devinit | 98 | static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev) |
100 | sdhci_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 | ||
106 | static int __devinit sdhci_probe(struct platform_device *pdev) | 104 | static 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 | }; |
218 | MODULE_DEVICE_TABLE(of, sdhci_dt_ids); | 218 | MODULE_DEVICE_TABLE(of, sdhci_dt_ids); |
219 | 219 | ||
220 | static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata( | 220 | static 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 | ||
247 | static int __devinit sdhci_tegra_probe(struct platform_device *pdev) | 247 | static 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 | ||
1305 | static int __devinit sh_mmcif_probe(struct platform_device *pdev) | 1305 | static 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 | ||
120 | static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev) | 120 | static 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 | ||
60 | static int __devinit tmio_mmc_probe(struct platform_device *pdev) | 60 | static 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 | ||
921 | int __devinit tmio_mmc_host_probe(struct tmio_mmc_host **host, | 921 | int 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 | ||
1085 | static int __devinit via_sd_probe(struct pci_dev *pcidev, | 1085 | static 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 | ||
1199 | static int __devinit wbsd_alloc_mmc(struct device *dev) | 1199 | static 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 | ||
1291 | static int __devinit wbsd_scan(struct wbsd_host *host) | 1291 | static 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 | ||
1347 | static int __devinit wbsd_request_region(struct wbsd_host *host, int base) | 1347 | static 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 | ||
1377 | static void __devinit wbsd_request_dma(struct wbsd_host *host, int dma) | 1377 | static 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 | ||
1455 | static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq) | 1455 | static 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 | ||
1505 | static int __devinit wbsd_request_resources(struct wbsd_host *host, | 1505 | static 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 | ||
1647 | static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma, | 1647 | static 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 | ||
1765 | static int __devinit wbsd_probe(struct platform_device *dev) | 1765 | static 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 | ||
1784 | static int __devinit | 1784 | static int |
1785 | wbsd_pnp_probe(struct pnp_dev *pnpdev, const struct pnp_device_id *dev_id) | 1785 | wbsd_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; |