Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27808
b: refs/heads/master
c: 615191b
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse committed May 21, 2006
1 parent c61e714 commit eab4995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ecde26313076e5055dcd54d6537632275346203f
refs/heads/master: 615191bb1dfc6980e7c7a85225444d860d74b343
6 changes: 3 additions & 3 deletions trunk/drivers/mtd/chips/gen_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
struct cfi_private *cfi = map->fldrv_priv;
__u16 type = primary?cfi->cfiq->P_ID:cfi->cfiq->A_ID;
#ifdef CONFIG_MODULES
char probename[32];
char probename[16+sizeof(MODULE_SYMBOL_PREFIX)];
cfi_cmdset_fn_t *probe_function;

sprintf(probename, "cfi_cmdset_%4.4X", type);
sprintf(probename, MODULE_SYMBOL_PREFIX "cfi_cmdset_%4.4X", type);

probe_function = __symbol_get(probename);
if (!probe_function) {
request_module(probename);
request_module(probename + sizeof(MODULE_SYMBOL_PREFIX) - 1);
probe_function = __symbol_get(probename);
}

Expand Down

0 comments on commit eab4995

Please sign in to comment.