diff options
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r-- | drivers/mtd/onenand/generic.c | 1 | ||||
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/generic.c b/drivers/mtd/onenand/generic.c index 093c29ac1a13..32a216d31141 100644 --- a/drivers/mtd/onenand/generic.c +++ b/drivers/mtd/onenand/generic.c | |||
@@ -106,7 +106,6 @@ static int generic_onenand_remove(struct platform_device *pdev) | |||
106 | static struct platform_driver generic_onenand_driver = { | 106 | static struct platform_driver generic_onenand_driver = { |
107 | .driver = { | 107 | .driver = { |
108 | .name = DRIVER_NAME, | 108 | .name = DRIVER_NAME, |
109 | .owner = THIS_MODULE, | ||
110 | }, | 109 | }, |
111 | .probe = generic_onenand_probe, | 110 | .probe = generic_onenand_probe, |
112 | .remove = generic_onenand_remove, | 111 | .remove = generic_onenand_remove, |
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index d945473c3882..646ddd6db1b4 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c | |||
@@ -804,7 +804,6 @@ static struct platform_driver omap2_onenand_driver = { | |||
804 | .shutdown = omap2_onenand_shutdown, | 804 | .shutdown = omap2_onenand_shutdown, |
805 | .driver = { | 805 | .driver = { |
806 | .name = DRIVER_NAME, | 806 | .name = DRIVER_NAME, |
807 | .owner = THIS_MODULE, | ||
808 | }, | 807 | }, |
809 | }; | 808 | }; |
810 | 809 | ||