mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
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>
This commit is contained in:
parent
8e4482fba2
commit
dcb6592d72
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user