1
0
Fork 0

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>
hifive-unleashed-5.1
Bartosz Golaszewski 2017-08-09 14:25:01 +02:00 committed by Linus Walleij
parent 90e1fc4c4c
commit 60909ec93b
1 changed files with 1 additions and 0 deletions

View File

@ -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,