Commit dcb6592d authored by Andrew Morton's avatar Andrew Morton Committed by David Woodhouse

git-mtd: symbol_get() fix

drivers/mtd/devices/docprobe.c: In function `DoC_Probe':
drivers/mtd/devices/docprobe.c:338: warning: assignment from incompatible pointer type
drivers/mtd/devices/docprobe.c:341: warning: assignment from incompatible pointer type

Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 8e4482fb
...@@ -335,10 +335,10 @@ static void __init DoC_Probe(unsigned long physadr) ...@@ -335,10 +335,10 @@ static void __init DoC_Probe(unsigned long physadr)
#ifdef CONFIG_MODULES #ifdef CONFIG_MODULES
if (im_funcname && !initroutine) if (im_funcname && !initroutine)
initroutine = symbol_get(im_funcname); initroutine = __symbol_get(im_funcname);
if (im_funcname && !initroutine) { if (im_funcname && !initroutine) {
request_module(im_modname); request_module(im_modname);
initroutine = symbol_get(im_funcname); initroutine = __symbol_get(im_funcname);
} }
#endif #endif
if (initroutine) { if (initroutine) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment