diff options
author | Felipe Balbi <balbi@ti.com> | 2012-03-14 13:18:28 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-04-06 04:32:29 +0400 |
commit | efa25fd3a33275861aa74ff03a512423873a8805 (patch) | |
tree | 840162161412b57a3bf03c03bcf32ff6f132335b /lib/xz | |
parent | 927ce944aebdcac0fa757d4e6448a6972184db8c (diff) | |
download | linux-efa25fd3a33275861aa74ff03a512423873a8805.tar.xz |
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 'lib/xz')
0 files changed, 0 insertions, 0 deletions