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

login
register
mail settings
Submitter Alexander Shiyan
Date May 6, 2013, 1:53 p.m.
Message ID <1367848434-28493-7-git-send-email-shc_work@mail.ru>
Download mbox | patch
Permalink /patch/241675/
State New
Headers show

Comments

Alexander Shiyan - May 6, 2013, 1:53 p.m.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 drivers/mtd/nand/gpio.c | 1 +
 1 file changed, 1 insertion(+)

Patch

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),
 	},
 };