]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 May 2006 01:41:34 +0000 (02:41 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 20 May 2006 01:41:34 +0000 (02:41 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/gen_probe.c

index 52d59d35091d405f3ee65edbaaaa304b87073a8f..00ca6f591202003834369ff84e864fa7a5871f19 100644 (file)
@@ -212,10 +212,10 @@ static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
 
        sprintf(probename, "cfi_cmdset_%4.4X", type);
 
-       probe_function = (void *)symbol_get(probename);
+       probe_function = __symbol_get(probename);
        if (!probe_function) {
                request_module(probename);
-               probe_function = (void *)symbol_get(probename);
+               probe_function = __symbol_get(probename);
        }
 
        if (probe_function) {