git-mtd: symbol_get() fix
authorAndrew Morton <akpm@osdl.org>
Sat, 20 May 2006 01:06:34 +0000 (18:06 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 May 2006 01:39:43 +0000 (02:39 +0100)
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: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/devices/docprobe.c

index 42ec08416a600a6bca39b5a6a75fa4bfea7e3dce..dce4c904b6364667c62d304b4ec32a1e0fd10d2a 100644 (file)
@@ -335,10 +335,10 @@ static void __init DoC_Probe(unsigned long physadr)
 
 #ifdef CONFIG_MODULES
                if (im_funcname && !initroutine)
-                       initroutine = symbol_get(im_funcname);
+                       initroutine = __symbol_get(im_funcname);
                if (im_funcname && !initroutine) {
                        request_module(im_modname);
-                       initroutine = symbol_get(im_funcname);
+                       initroutine = __symbol_get(im_funcname);
                }
 #endif
                if (initroutine) {