1
0
Fork 0

gpio: sta2x11: 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>
hifive-unleashed-5.1
Bartosz Golaszewski 2017-08-09 14:25:02 +02:00 committed by Linus Walleij
parent 60909ec93b
commit a6f5f1b956
1 changed files with 1 additions and 0 deletions

View File

@ -432,6 +432,7 @@ static int gsta_probe(struct platform_device *dev)
static struct platform_driver sta2x11_gpio_platform_driver = {
.driver = {
.name = "sta2x11-gpio",
.suppress_bind_attrs = true,
},
.probe = gsta_probe,
};