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:
754c045
)
gpio: mxc: disallow unbinding the driver
author
Bartosz Golaszewski
<brgl@bgdev.pl>
Wed, 9 Aug 2017 12:25:00 +0000
(14:25 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Sun, 20 Aug 2017 22:04:39 +0000
(
00:04
+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-mxc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-mxc.c
b/drivers/gpio/gpio-mxc.c
index 3dcd990f416eaf0b4ca343a64068c1777953ae60..619fe7ad3ceca45ac8bbc4bc2bc95d4629a67ada 100644
(file)
--- a/
drivers/gpio/gpio-mxc.c
+++ b/
drivers/gpio/gpio-mxc.c
@@
-508,6
+508,7
@@
static struct platform_driver mxc_gpio_driver = {
.driver = {
.name = "gpio-mxc",
.of_match_table = mxc_gpio_dt_ids,
+ .suppress_bind_attrs = true,
},
.probe = mxc_gpio_probe,
.id_table = mxc_gpio_devtype,