Commit e6dd44d9 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] si2157: do not allow driver unbind

Disable runtime unbind as driver does not support it.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent e06be1da
...@@ -514,7 +514,8 @@ MODULE_DEVICE_TABLE(i2c, si2157_id_table); ...@@ -514,7 +514,8 @@ MODULE_DEVICE_TABLE(i2c, si2157_id_table);
static struct i2c_driver si2157_driver = { static struct i2c_driver si2157_driver = {
.driver = { .driver = {
.name = "si2157", .name = "si2157",
.suppress_bind_attrs = true,
}, },
.probe = si2157_probe, .probe = si2157_probe,
.remove = si2157_remove, .remove = si2157_remove,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment