From 90e1fc4c4ccfaefe8a2cbd6e7cfff5a77ef35437 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 9 Aug 2017 14:25:00 +0200 Subject: [PATCH] gpio: mxc: 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 --- drivers/gpio/gpio-mxc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 3dcd990f416e..619fe7ad3cec 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c @@ -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, -- 2.20.1