From: David Woodhouse Date: Sat, 20 May 2006 01:41:34 +0000 (+0100) Subject: [MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe X-Git-Tag: v2.6.18-rc1~1105^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fc3dbc418e01345e25e96b3192a1c46051c3fdc;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/chips/gen_probe.c b/drivers/mtd/chips/gen_probe.c index 52d59d3..00ca6f5 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) {