diff options
author | Andrew Morton <akpm@osdl.org> | 2006-05-19 21:06:34 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-19 21:39:43 -0400 |
commit | dcb6592d72923123e3e479134f9381e0133d7d9d (patch) | |
tree | 6e95205db30cb81aae87b052acc6f5de0e6e1f91 /drivers/mtd/devices | |
parent | 8e4482fba21d15da99f39a13396d3361e810d199 (diff) |
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.c | 4 |
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) | |||
335 | 335 | ||
336 | #ifdef CONFIG_MODULES | 336 | #ifdef CONFIG_MODULES |
337 | if (im_funcname && !initroutine) | 337 | if (im_funcname && !initroutine) |
338 | initroutine = symbol_get(im_funcname); | 338 | initroutine = __symbol_get(im_funcname); |
339 | if (im_funcname && !initroutine) { | 339 | if (im_funcname && !initroutine) { |
340 | request_module(im_modname); | 340 | request_module(im_modname); |
341 | initroutine = symbol_get(im_funcname); | 341 | initroutine = __symbol_get(im_funcname); |
342 | } | 342 | } |
343 | #endif | 343 | #endif |
344 | if (initroutine) { | 344 | if (initroutine) { |