diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-19 21:41:34 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-19 21:41:34 -0400 |
commit | 5fc3dbc418e01345e25e96b3192a1c46051c3fdc (patch) | |
tree | 09691055b24900aceb5a1a021ce64ab8d907f694 /drivers | |
parent | dcb6592d72923123e3e479134f9381e0133d7d9d (diff) |
[MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/chips/gen_probe.c | 4 |
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, | |||
212 | 212 | ||
213 | sprintf(probename, "cfi_cmdset_%4.4X", type); | 213 | sprintf(probename, "cfi_cmdset_%4.4X", type); |
214 | 214 | ||
215 | probe_function = (void *)symbol_get(probename); | 215 | probe_function = __symbol_get(probename); |
216 | if (!probe_function) { | 216 | if (!probe_function) { |
217 | request_module(probename); | 217 | request_module(probename); |
218 | probe_function = (void *)symbol_get(probename); | 218 | probe_function = __symbol_get(probename); |
219 | } | 219 | } |
220 | 220 | ||
221 | if (probe_function) { | 221 | if (probe_function) { |