patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / mtd / chips / amd_flash.c
index 6021b8b..6606b93 100644 (file)
@@ -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;
 }