forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
754c04582a
commit
90e1fc4c4c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user