mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
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>
This commit is contained in:
parent
60909ec93b
commit
a6f5f1b956
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue