Skip to content

Commit

Permalink
omap_hsmmc: add missing probe handler hook
Browse files Browse the repository at this point in the history
The missing probe handler hook will never probe the driver. Add it back.
Fixes broken MMC on OMAP.

We use platform_driver_probe() API since omap_hsmmc is not a hot-pluggable
device.

Signed-off-by: Roger Quadros <[email protected]>
Tested-by: Felipe Contreras <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Felipe Contreras <[email protected]>
Cc: Denis Karpov <[email protected]>
Cc: Madhusudhan Chikkature <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Roger Quadros authored and torvalds committed Oct 29, 2009
1 parent 0a1b71b commit 8753298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/omap_hsmmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2013,7 +2013,7 @@ static struct platform_driver omap_hsmmc_driver = {
static int __init omap_hsmmc_init(void)
{
/* Register the MMC driver */
return platform_driver_register(&omap_hsmmc_driver);
return platform_driver_probe(&omap_hsmmc_driver, omap_hsmmc_probe);
}

static void __exit omap_hsmmc_cleanup(void)
Expand Down

0 comments on commit 8753298

Please sign in to comment.