mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
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>
This commit is contained in:
parent
90e1fc4c4c
commit
60909ec93b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user