diff options
Diffstat (limited to 'drivers/mmc/host/omap.c')
-rw-r--r-- | drivers/mmc/host/omap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index dceb5ee3bda0..e7a331de5733 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c | |||
@@ -1593,7 +1593,6 @@ static int mmc_omap_resume(struct platform_device *pdev) | |||
1593 | #endif | 1593 | #endif |
1594 | 1594 | ||
1595 | static struct platform_driver mmc_omap_driver = { | 1595 | static struct platform_driver mmc_omap_driver = { |
1596 | .probe = mmc_omap_probe, | ||
1597 | .remove = mmc_omap_remove, | 1596 | .remove = mmc_omap_remove, |
1598 | .suspend = mmc_omap_suspend, | 1597 | .suspend = mmc_omap_suspend, |
1599 | .resume = mmc_omap_resume, | 1598 | .resume = mmc_omap_resume, |
@@ -1605,7 +1604,7 @@ static struct platform_driver mmc_omap_driver = { | |||
1605 | 1604 | ||
1606 | static int __init mmc_omap_init(void) | 1605 | static int __init mmc_omap_init(void) |
1607 | { | 1606 | { |
1608 | return platform_driver_register(&mmc_omap_driver); | 1607 | return platform_driver_probe(&mmc_omap_driver, mmc_omap_probe); |
1609 | } | 1608 | } |
1610 | 1609 | ||
1611 | static void __exit mmc_omap_exit(void) | 1610 | static void __exit mmc_omap_exit(void) |