diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-08-09 14:25:01 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-08-21 00:05:08 +0200 |
commit | 60909ec93b77849b4110480a5e629bbb8e98b993 (patch) | |
tree | 8b4aee920689a189f35c4350b2eb84a4ea645927 /drivers/gpio | |
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>
Diffstat (limited to 'drivers/gpio')
-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 = { .driver = { .name = "gpio-mxs", .of_match_table = mxs_gpio_dt_ids, + .suppress_bind_attrs = true, }, .probe = mxs_gpio_probe, .id_table = mxs_gpio_ids, |