projects
/
GitHub
/
moto-9609
/
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:
60909ec
)
gpio: sta2x11: disallow unbinding the driver
author
Bartosz Golaszewski
<brgl@bgdev.pl>
Wed, 9 Aug 2017 12:25:02 +0000
(14:25 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sun, 20 Aug 2017 22:05:37 +0000
(
00:05
+0200)
This driver is non-modular so explicitly disallow a driver unbind.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sta2x11.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-sta2x11.c
b/drivers/gpio/gpio-sta2x11.c
index 9e705162da8d7379a74fb25575a679d311157a70..56beb31c03dba24f746df93ccd1d8aa3673513ad 100644
(file)
--- a/
drivers/gpio/gpio-sta2x11.c
+++ b/
drivers/gpio/gpio-sta2x11.c
@@
-432,6
+432,7
@@
static int gsta_probe(struct platform_device *dev)
static struct platform_driver sta2x11_gpio_platform_driver = {
.driver = {
.name = "sta2x11-gpio",
+ .suppress_bind_attrs = true,
},
.probe = gsta_probe,
};