diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c index f8cb06b8ed65..ab1adeabdd22 100644 --- a/drivers/mmc/host/tmio_mmc.c +++ b/drivers/mmc/host/tmio_mmc.c | |||
@@ -1191,7 +1191,7 @@ static const struct mmc_host_ops tmio_mmc_ops = { | |||
1191 | #ifdef CONFIG_PM | 1191 | #ifdef CONFIG_PM |
1192 | static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state) | 1192 | static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state) |
1193 | { | 1193 | { |
1194 | struct mfd_cell *cell = mfd_get_cell(dev); | 1194 | const struct mfd_cell *cell = mfd_get_cell(dev); |
1195 | struct mmc_host *mmc = platform_get_drvdata(dev); | 1195 | struct mmc_host *mmc = platform_get_drvdata(dev); |
1196 | int ret; | 1196 | int ret; |
1197 | 1197 | ||
@@ -1206,7 +1206,7 @@ static int tmio_mmc_suspend(struct platform_device *dev, pm_message_t state) | |||
1206 | 1206 | ||
1207 | static int tmio_mmc_resume(struct platform_device *dev) | 1207 | static int tmio_mmc_resume(struct platform_device *dev) |
1208 | { | 1208 | { |
1209 | struct mfd_cell *cell = mfd_get_cell(dev); | 1209 | const struct mfd_cell *cell = mfd_get_cell(dev); |
1210 | struct mmc_host *mmc = platform_get_drvdata(dev); | 1210 | struct mmc_host *mmc = platform_get_drvdata(dev); |
1211 | int ret = 0; | 1211 | int ret = 0; |
1212 | 1212 | ||
@@ -1229,7 +1229,7 @@ out: | |||
1229 | 1229 | ||
1230 | static int __devinit tmio_mmc_probe(struct platform_device *dev) | 1230 | static int __devinit tmio_mmc_probe(struct platform_device *dev) |
1231 | { | 1231 | { |
1232 | struct mfd_cell *cell = mfd_get_cell(dev); | 1232 | const struct mfd_cell *cell = mfd_get_cell(dev); |
1233 | struct tmio_mmc_data *pdata; | 1233 | struct tmio_mmc_data *pdata; |
1234 | struct resource *res_ctl; | 1234 | struct resource *res_ctl; |
1235 | struct tmio_mmc_host *host; | 1235 | struct tmio_mmc_host *host; |
@@ -1344,7 +1344,7 @@ out: | |||
1344 | 1344 | ||
1345 | static int __devexit tmio_mmc_remove(struct platform_device *dev) | 1345 | static int __devexit tmio_mmc_remove(struct platform_device *dev) |
1346 | { | 1346 | { |
1347 | struct mfd_cell *cell = mfd_get_cell(dev); | 1347 | const struct mfd_cell *cell = mfd_get_cell(dev); |
1348 | struct mmc_host *mmc = platform_get_drvdata(dev); | 1348 | struct mmc_host *mmc = platform_get_drvdata(dev); |
1349 | 1349 | ||
1350 | platform_set_drvdata(dev, NULL); | 1350 | platform_set_drvdata(dev, NULL); |