diff options
author | Bartosz Golaszewski | 2017-08-09 14:25:00 +0200 |
---|---|---|
committer | Linus Walleij | 2017-08-21 00:04:39 +0200 |
commit | 90e1fc4c4ccfaefe8a2cbd6e7cfff5a77ef35437 (patch) | |
tree | c052d5d6afe33b3ecc55d3ba3ea411839ee95c67 /drivers/gpio | |
parent | 754c04582a98fa2a24ff1b4c4b88964b114eb526 (diff) |
gpio: mxc: 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-mxc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 3dcd990f416e..619fe7ad3cec 100644 --- 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, |