summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/chips/gen_probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/gen_probe.c b/drivers/mtd/chips/gen_probe.c
index 52d59d35091d..00ca6f591202 100644
--- a/drivers/mtd/chips/gen_probe.c
+++ b/drivers/mtd/chips/gen_probe.c
@@ -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) {