Commit 60909ec9 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Linus Walleij

gpio: mxs: disallow unbinding the driver

This driver is non-modular so explicitly disallow a driver unbind.
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 90e1fc4c
...@@ -379,6 +379,7 @@ static struct platform_driver mxs_gpio_driver = { ...@@ -379,6 +379,7 @@ static struct platform_driver mxs_gpio_driver = {
.driver = { .driver = {
.name = "gpio-mxs", .name = "gpio-mxs",
.of_match_table = mxs_gpio_dt_ids, .of_match_table = mxs_gpio_dt_ids,
.suppress_bind_attrs = true,
}, },
.probe = mxs_gpio_probe, .probe = mxs_gpio_probe,
.id_table = mxs_gpio_ids, .id_table = mxs_gpio_ids,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment