summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-05-20 05:06:34 +0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-20 05:39:43 +0400
commitdcb6592d72923123e3e479134f9381e0133d7d9d (patch)
tree6e95205db30cb81aae87b052acc6f5de0e6e1f91 /drivers/mtd/devices
parent8e4482fba21d15da99f39a13396d3361e810d199 (diff)
downloadlinux-dcb6592d72923123e3e479134f9381e0133d7d9d.tar.xz
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: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/devices')
-rw-r--r--drivers/mtd/devices/docprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/devices/docprobe.c b/drivers/mtd/devices/docprobe.c
index 42ec08416a60..dce4c904b636 100644
--- a/drivers/mtd/devices/docprobe.c
+++ b/drivers/mtd/devices/docprobe.c
@@ -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) {