* + omap_hsmmc-add-missing-probe-handler-hook.patch added to -mm tree
@ 2009-10-09 22:47 akpm
0 siblings, 0 replies; 2+ messages in thread
From: akpm @ 2009-10-09 22:47 UTC (permalink / raw)
To: mm-commits
Cc: ext-roger.quadros, ext-denis.2.karpov, felipe.contreras, gregkh,
jkosina, madhu.cr, tony
The patch titled
omap_hsmmc: add missing probe handler hook
has been added to the -mm tree. Its filename is
omap_hsmmc-add-missing-probe-handler-hook.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: omap_hsmmc: add missing probe handler hook
From: Roger Quadros <ext-roger.quadros@nokia.com>
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 <ext-roger.quadros@nokia.com>
Tested-by: Felipe Contreras <felipe.contreras@gmail.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Felipe Contreras <felipe.contreras@gmail.com>
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com>
Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
Cc: Greg KH <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
diff -puN drivers/mmc/host/omap_hsmmc.c~omap_hsmmc-add-missing-probe-handler-hook drivers/mmc/host/omap_hsmmc.c
--- a/drivers/mmc/host/omap_hsmmc.c~omap_hsmmc-add-missing-probe-handler-hook
+++ a/drivers/mmc/host/omap_hsmmc.c
@@ -2013,7 +2013,7 @@ static struct platform_driver omap_hsmmc
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)
_
Patches currently in -mm which might be from ext-roger.quadros@nokia.com are
omap_hsmmc-add-missing-probe-handler-hook.patch
^ permalink raw reply [flat|nested] 2+ messages in thread
* + omap_hsmmc-add-missing-probe-handler-hook.patch added to -mm tree
@ 2009-10-09 22:19 akpm
0 siblings, 0 replies; 2+ messages in thread
From: akpm @ 2009-10-09 22:19 UTC (permalink / raw)
To: mm-commits
Cc: tony, ext-denis.2.karpov, ext-roger.quadros, felipe.contreras,
gregkh, jkosina, madhu.cr
The patch titled
omap_hsmmc: add missing probe handler hook
has been added to the -mm tree. Its filename is
omap_hsmmc-add-missing-probe-handler-hook.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: omap_hsmmc: add missing probe handler hook
From: Tony Lindgren <tony@atomide.com>
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 <ext-roger.quadros@nokia.com>
Tested-by: Felipe Contreras <felipe.contreras@gmail.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Felipe Contreras <felipe.contreras@gmail.com>
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com>
Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
Cc: Greg KH <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
diff -puN drivers/mmc/host/omap_hsmmc.c~omap_hsmmc-add-missing-probe-handler-hook drivers/mmc/host/omap_hsmmc.c
--- a/drivers/mmc/host/omap_hsmmc.c~omap_hsmmc-add-missing-probe-handler-hook
+++ a/drivers/mmc/host/omap_hsmmc.c
@@ -2013,7 +2013,7 @@ static struct platform_driver omap_hsmmc
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)
_
Patches currently in -mm which might be from tony@atomide.com are
origin.patch
omap_hsmmc-add-missing-probe-handler-hook.patch
maintainers-update-omap-tony-lindgren-email-name.patch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-09 22:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-09 22:47 + omap_hsmmc-add-missing-probe-handler-hook.patch added to -mm tree akpm
-- strict thread matches above, loose matches on Subject: below --
2009-10-09 22:19 akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).