提交 5fc3dbc4 编写于 作者: D David Woodhouse

[MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 dcb6592d
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册