commit | efa25fd3a33275861aa74ff03a512423873a8805 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Wed Mar 14 11:18:28 2012 +0200 |
committer | Chris Ball <cjb@laptop.org> | Thu Apr 05 20:32:29 2012 -0400 |
tree | 840162161412b57a3bf03c03bcf32ff6f132335b | |
parent | 927ce944aebdcac0fa757d4e6448a6972184db8c [diff] |
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 <balbi@ti.com> Signed-off-by: Venkatraman S <svenkatr@ti.com> Signed-off-by: Chris Ball <cjb@laptop.org>