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:
90e1fc4
)
gpio: mxs: disallow unbinding the driver
author
Bartosz Golaszewski
<brgl@bgdev.pl>
Wed, 9 Aug 2017 12:25:01 +0000
(14:25 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sun, 20 Aug 2017 22:05:08 +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-mxs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-mxs.c
b/drivers/gpio/gpio-mxs.c
index 6ae583f36733a1d94efeb2ee846f0d436d9487fd..159927876577cae37ed86fd8ef1ab8f0245f6d60 100644
(file)
--- a/
drivers/gpio/gpio-mxs.c
+++ b/
drivers/gpio/gpio-mxs.c
@@
-379,6
+379,7
@@
static struct platform_driver mxs_gpio_driver = {
.driver = {
.name = "gpio-mxs",
.of_match_table = mxs_gpio_dt_ids,
+ .suppress_bind_attrs = true,
},
.probe = mxs_gpio_probe,
.id_table = mxs_gpio_ids,