summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-06-30 02:38:19 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 22:54:54 +0300
commite6dd44d9e12b0a1c8c48c542874d5eb1a6274d8e (patch)
treedf003f7c52df9387539b556aded49a59b9e4b490
parente06be1da137a72d7268ed95bd3de02c9b81cce7c (diff)
downloadlinux-e6dd44d9e12b0a1c8c48c542874d5eb1a6274d8e.tar.xz
[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>
-rw-r--r--drivers/media/tuners/si2157.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c
index b07a681f3fbc..57b250847cd3 100644
--- a/drivers/media/tuners/si2157.c
+++ b/drivers/media/tuners/si2157.c
@@ -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,