diff options
author | Felipe Balbi | 2012-03-14 11:18:28 +0200 |
---|---|---|
committer | Chris Ball | 2012-04-05 20:32:29 -0400 |
commit | efa25fd3a33275861aa74ff03a512423873a8805 (patch) | |
tree | 840162161412b57a3bf03c03bcf32ff6f132335b /drivers/mmc/host/mmci.h | |
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>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
0 files changed, 0 insertions, 0 deletions