提交 72812175 编写于 作者: A Antti Palosaari 提交者: Mauro Carvalho Chehab

[media] af9033: do not allow driver unbind

Disable runtime unbind as driver does not support it.
Signed-off-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 659a0999
...@@ -1373,6 +1373,7 @@ MODULE_DEVICE_TABLE(i2c, af9033_id_table); ...@@ -1373,6 +1373,7 @@ MODULE_DEVICE_TABLE(i2c, af9033_id_table);
static struct i2c_driver af9033_driver = { static struct i2c_driver af9033_driver = {
.driver = { .driver = {
.name = "af9033", .name = "af9033",
.suppress_bind_attrs = true,
}, },
.probe = af9033_probe, .probe = af9033_probe,
.remove = af9033_remove, .remove = af9033_remove,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册