git-mtd: symbol_get() fix

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri May 19 21:59:02 EDT 2006


Commit:     dcb6592d72923123e3e479134f9381e0133d7d9d
Parent:     8e4482fba21d15da99f39a13396d3361e810d199
Author:     Andrew Morton <akpm at osdl.org>
AuthorDate: Fri May 19 18:06:34 2006 -0700
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat May 20 02:39:43 2006 +0100

    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 at infradead.org>
    Signed-off-by: Andrew Morton <akpm at osdl.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>

 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 42ec084..dce4c90 100644
--- a/drivers/mtd/devices/docprobe.c
+++ b/drivers/mtd/devices/docprobe.c
@@ -335,10 +335,10 @@ #endif /* DOC_SINGLE_DRIVER */
 
 #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) {



More information about the linux-mtd-cvs mailing list