projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/drivers/gpio/gpio-sta2x11.c
b/drivers/gpio/gpio-sta2x11.c
index
9e70516
..
56beb31
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,
};