[media] si2157: do not allow driver unbind

Disable runtime unbind as driver does not support it.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Antti Palosaari 2016-06-29 20:38:19 -03:00 committed by Mauro Carvalho Chehab
parent e06be1da13
commit e6dd44d9e1
1 changed files with 2 additions and 1 deletions

View File

@ -514,7 +514,8 @@ MODULE_DEVICE_TABLE(i2c, si2157_id_table);
static struct i2c_driver si2157_driver = {
.driver = {
.name = "si2157",
.name = "si2157",
.suppress_bind_attrs = true,
},
.probe = si2157_probe,
.remove = si2157_remove,