提交 a6f5f1b9 编写于 作者: B Bartosz Golaszewski 提交者: Linus Walleij

gpio: sta2x11: disallow unbinding the driver

This driver is non-modular so explicitly disallow a driver unbind.
Signed-off-by: NBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 60909ec9
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册