projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb6592
)
[MTD] Use __symbol_get() instead of symbol_get() in NOR chip probe
author
David Woodhouse
<dwmw2@infradead.org>
Sat, 20 May 2006 01:41:34 +0000
(
02:41
+0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Sat, 20 May 2006 01:41:34 +0000
(
02:41
+0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/chips/gen_probe.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/chips/gen_probe.c
b/drivers/mtd/chips/gen_probe.c
index 52d59d35091d405f3ee65edbaaaa304b87073a8f..00ca6f591202003834369ff84e864fa7a5871f19 100644
(file)
--- 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) {