mmc: omap_hsmmc: make it behave well as a module
authorFelipe Balbi <balbi@ti.com>
Wed, 14 Mar 2012 09:18:28 +0000 (11:18 +0200)
committerChris Ball <cjb@laptop.org>
Fri, 6 Apr 2012 00:32:29 +0000 (20:32 -0400)
If we put probe() on __init section, that will never work for multiple
module insertions/removals.

In order to make it work properly, move probe to __devinit section and
use platform_driver_register() instead of platform_driver_probe().

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found