summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/gpio.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-05-06 17:53:54 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2013-08-05 23:46:21 +0400
commit65c972afb572e74a1b394baead89b934ca15f12b (patch)
tree9ffb4d97a1705ce15dd179ceeefe5e03f51cf2c4 /drivers/mtd/nand/gpio.c
parentf8e81c2b496d2ab85322feb4f0b581bef63cbff0 (diff)
downloadlinux-65c972afb572e74a1b394baead89b934ca15f12b.tar.xz
mtd: nand-gpio: Add missing "owner" field in platform_driver struct
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>
Diffstat (limited to 'drivers/mtd/nand/gpio.c')
-rw-r--r--drivers/mtd/nand/gpio.c1
1 files changed, 1 insertions, 0 deletions
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),
},
};