projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ed0b6
)
gpio: bcm-kona: add missing .owner to struct gpio_chip
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Tue, 29 Oct 2013 03:49:20 +0000
(11:49 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Wed, 30 Oct 2013 18:23:00 +0000
(11:23 -0700)
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-bcm-kona.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-bcm-kona.c
b/drivers/gpio/gpio-bcm-kona.c
index
b3d0f81
..
72c927d
100644
(file)
--- a/
drivers/gpio/gpio-bcm-kona.c
+++ b/
drivers/gpio/gpio-bcm-kona.c
@@
-280,6
+280,7
@@
static int bcm_kona_gpio_set_debounce(struct gpio_chip *chip, unsigned gpio,
static struct gpio_chip template_chip = {
.label = "bcm-kona-gpio",
+ .owner = THIS_MODULE,
.direction_input = bcm_kona_gpio_direction_input,
.get = bcm_kona_gpio_get,
.direction_output = bcm_kona_gpio_direction_output,