[PATCH v2 7/7] mtd: nand-gpio: Add missing "owner" field in platform_driver struct

Alexander Shiyan shc_work at mail.ru
Fri Apr 26 14:57:28 EDT 2013


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 drivers/mtd/nand/gpio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c
index 6bf8f2e..ba62899 100644
--- a/drivers/mtd/nand/gpio.c
+++ b/drivers/mtd/nand/gpio.c
@@ -307,6 +307,7 @@ static struct platform_driver gpio_nand_driver = {
 	.remove		= gpio_nand_remove,
 	.driver		= {
 		.name	= "gpio-nand",
+		.owner	= THIS_MODULE;
 		.of_match_table = of_match_ptr(gpio_nand_id_table),
 	},
 };
-- 
1.8.1.5




More information about the linux-mtd mailing list