mtd: nand-gpio: Add missing "owner" field in platform_driver struct
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 6 May 2013 13:53:54 +0000 (17:53 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 19:46:21 +0000 (20:46 +0100)
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/gpio.c

index 6bf8f2e073ef76f3e9b29663700cf96353df98e3..800a1cc5015d686d191f2cea58eb067a2a2a640e 100644 (file)
@@ -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),
        },
 };