omap_hsmmc: add missing probe handler hook

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]>
This commit is contained in:
Roger Quadros 2009-10-26 16:49:38 -07:00 • committed by Linus Torvalds
commit 8753298a11

View file

@ -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)