Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcb6592d authored by Andrew Morton's avatar Andrew Morton Committed by David Woodhouse
Browse files

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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 8e4482fb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {