git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
drivers
/
mtd
/
chips
/
amd_flash.c
diff --git
a/drivers/mtd/chips/amd_flash.c
b/drivers/mtd/chips/amd_flash.c
index
6021b8b
..
6606b93
100644
(file)
--- a/
drivers/mtd/chips/amd_flash.c
+++ b/
drivers/mtd/chips/amd_flash.c
@@
-780,8
+780,8
@@
static struct mtd_info *amd_flash_probe(struct map_info *map)
map->fldrv_priv = private;
map->fldrv = &amd_flash_chipdrv;
- MOD_INC_USE_COUNT;
+ __module_get(THIS_MODULE);
return mtd;
}