summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/mtd/maps/physmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/mtd/maps/physmap.c')
-rw-r--r--kernel/drivers/mtd/maps/physmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/drivers/mtd/maps/physmap.c b/kernel/drivers/mtd/maps/physmap.c
index 4305fd607..cc2adbbcd 100644
--- a/kernel/drivers/mtd/maps/physmap.c
+++ b/kernel/drivers/mtd/maps/physmap.c
@@ -167,7 +167,6 @@ static int physmap_flash_probe(struct platform_device *dev)
} else {
devices_found++;
}
- info->mtd[i]->owner = THIS_MODULE;
info->mtd[i]->dev.parent = &dev->dev;
}