From: Felipe Balbi Date: Wed, 14 Mar 2012 09:18:28 +0000 (+0200) Subject: mmc: omap_hsmmc: make it behave well as a module X-Git-Tag: v3.4-rc2~9^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa25fd3a33275861aa74ff03a512423873a8805;p=pandora-kernel.git mmc: omap_hsmmc: make it behave well as a module 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 Signed-off-by: Venkatraman S Signed-off-by: Chris Ball --- Reading git-diff-tree failed