aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmc_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/mmc_spi.c')
-rw-r--r--drivers/mmc/host/mmc_spi.c6
1 files changed, 3 insertions, 3 deletions
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);