summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-mxs.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-08-09 15:25:01 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-08-21 01:05:08 +0300
commit60909ec93b77849b4110480a5e629bbb8e98b993 (patch)
tree8b4aee920689a189f35c4350b2eb84a4ea645927 /drivers/gpio/gpio-mxs.c
parent90e1fc4c4ccfaefe8a2cbd6e7cfff5a77ef35437 (diff)
downloadlinux-60909ec93b77849b4110480a5e629bbb8e98b993.tar.xz
gpio: mxs: disallow unbinding the driver
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>
Diffstat (limited to 'drivers/gpio/gpio-mxs.c')
-rw-r--r--drivers/gpio/gpio-mxs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c
index 6ae583f36733..159927876577 100644
--- 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,