]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: omap: Fix a section warning regression
authorTony Lindgren <tony@atomide.com>
Wed, 6 Jun 2012 13:44:09 +0000 (09:44 -0400)
committerChris Ball <cjb@laptop.org>
Wed, 6 Jun 2012 13:44:09 +0000 (09:44 -0400)
commit641418703b1dff55028481e7978976371f438681
treeaeb59531007bb34b0033510ccdd7a13de6f99200
parentf300d16f2ac6144bc31d59a3f32f0acd8a05cb8b
mmc: omap: Fix a section warning regression

Commit 1a387445 (mmc: omap: make it behave well as a module) made some
__devinit changes but missed one function causing a section warning:

WARNING: vmlinux.o(.devinit.text+0x8604): Section mismatch in reference
from the function mmc_omap_probe)

The function __devinit mmc_omap_probe() references a function
__init mmc_omap_new_slot().

Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap.c