projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12262be
)
gpio: moxart: add missing .owner to struct gpio_chip
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Mon, 16 Dec 2013 02:11:34 +0000
(10:11 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Fri, 20 Dec 2013 09:21:23 +0000
(10:21 +0100)
Add missing .owner of struct gpio_chip. This prevents the
module from being removed from underneath its users.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-moxart.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-moxart.c
b/drivers/gpio/gpio-moxart.c
index 4ecd195e4a5b1b22074962a858216044f6063f6f..79b93415c6200b5b88b7491b167d30eab08a3441 100644
(file)
--- a/
drivers/gpio/gpio-moxart.c
+++ b/
drivers/gpio/gpio-moxart.c
@@
-102,6
+102,7
@@
static struct gpio_chip moxart_template_chip = {
.set = moxart_gpio_set,
.get = moxart_gpio_get,
.ngpio = 32,
+ .owner = THIS_MODULE,
};
static int moxart_gpio_probe(struct platform_device *pdev)