Skip to content

Commit

Permalink
[MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed May 20, 2006
1 parent dcb6592 commit 5fc3dbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/chips/gen_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5fc3dbc

Please sign in to comment.