From: Alexander Shiyan Date: Mon, 6 May 2013 13:53:54 +0000 (+0400) Subject: mtd: nand-gpio: Add missing "owner" field in platform_driver struct X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=65c972afb572e74a1b394baead89b934ca15f12b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git mtd: nand-gpio: Add missing "owner" field in platform_driver struct Signed-off-by: Alexander Shiyan Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c index 6bf8f2e073ef..800a1cc5015d 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), }, };