projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d6d27
)
gpio: clps711x: Add missing .owner to struct gpio_chip
author
Axel Lin
<axel.lin@ingics.com>
Tue, 4 Feb 2014 14:25:27 +0000
(22:25 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 6 Feb 2014 09:33:48 +0000
(10:33 +0100)
Add missing .owner of struct gpio_chip. This prevents the
module from being removed from underneath its users.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-clps711x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-clps711x.c
b/drivers/gpio/gpio-clps711x.c
index d3550274b8f7e64c293bc8d53ef7cd51598ed5f6..20a7839e31ef73026b34167d9bbacd12f6f51013 100644
(file)
--- a/
drivers/gpio/gpio-clps711x.c
+++ b/
drivers/gpio/gpio-clps711x.c
@@
-65,6
+65,7
@@
static int clps711x_gpio_probe(struct platform_device *pdev)
}
bgc->gc.base = id * 8;
+ bgc->gc.owner = THIS_MODULE;
platform_set_drvdata(pdev, bgc);
return gpiochip_add(&bgc->gc);