mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
[MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
dcb6592d72
commit
5fc3dbc418
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue