From: Bartosz Golaszewski Date: Wed, 9 Aug 2017 12:25:01 +0000 (+0200) Subject: gpio: mxs: disallow unbinding the driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60909ec93b77849b4110480a5e629bbb8e98b993;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gpio: mxs: disallow unbinding the driver This driver is non-modular so explicitly disallow a driver unbind. Signed-off-by: Bartosz Golaszewski Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-mxs.c b/drivers/gpio/gpio-mxs.c index 6ae583f36733..159927876577 100644 --- a/drivers/gpio/gpio-mxs.c +++ b/drivers/gpio/gpio-mxs.c @@ -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,