mmc: omap: make it behave well as a module
authorVenkatraman S <svenkatr@ti.com>
Tue, 8 May 2012 11:35:34 +0000 (17:05 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 17 May 2012 12:26:15 +0000 (08:26 -0400)
commitb6e0703bbf0121cd6440277a0604d860f5734b2c
tree8979cf5f0e0c1b9670eb1d7d9960072c32364ef6
parentb01a4f1ce2cde9acd97ce5c06e35bc9c1eacded7
mmc: omap: make it behave well as a module

Use proper __devinit and __devexit annotation for driver functions.
Instantiate the probe function for driver_ops instead of a probe in
the register function.

Signed-off-by: Venkatraman S <svenkatr@ti.com>
Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap.c