]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a3874454d948a4f69770dd02e5d39ba96f98195
tree8979cf5f0e0c1b9670eb1d7d9960072c32364ef6
parentb3975fa8aef45eeca0cef75702e8e7305372030b
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