Skip to content

Commit

Permalink
git-mtd: symbol_get() fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and David Woodhouse committed May 20, 2006
1 parent 8e4482f commit dcb6592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/devices/docprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dcb6592

Please sign in to comment.