diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-08-09 08:25:01 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-20 18:05:08 -0400 |
commit | 60909ec93b77849b4110480a5e629bbb8e98b993 (patch) | |
tree | 8b4aee920689a189f35c4350b2eb84a4ea645927 | |
parent | 90e1fc4c4ccfaefe8a2cbd6e7cfff5a77ef35437 (diff) |
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>
-rw-r--r-- | drivers/gpio/gpio-mxs.c | 1 |
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 = { | |||
379 | .driver = { | 379 | .driver = { |
380 | .name = "gpio-mxs", | 380 | .name = "gpio-mxs", |
381 | .of_match_table = mxs_gpio_dt_ids, | 381 | .of_match_table = mxs_gpio_dt_ids, |
382 | .suppress_bind_attrs = true, | ||
382 | }, | 383 | }, |
383 | .probe = mxs_gpio_probe, | 384 | .probe = mxs_gpio_probe, |
384 | .id_table = mxs_gpio_ids, | 385 | .id_table = mxs_gpio_ids, |