summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-06-29 23:38:18 (GMT)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 19:54:28 (GMT)
commite06be1da137a72d7268ed95bd3de02c9b81cce7c (patch)
tree9e508ca59ea33c5f4e5ae845ea07acce010d5ed2
parent6ab1e9438a71b642dd94a6a774fa229273d7b759 (diff)
downloadlinux-e06be1da137a72d7268ed95bd3de02c9b81cce7c.tar.xz
[media] si2168: 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/dvb-frontends/si2168.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c
index 124addc..20b4a65 100644
--- a/drivers/media/dvb-frontends/si2168.c
+++ b/drivers/media/dvb-frontends/si2168.c
@@ -745,7 +745,8 @@ MODULE_DEVICE_TABLE(i2c, si2168_id_table);
static struct i2c_driver si2168_driver = {
.driver = {
- .name = "si2168",
+ .name = "si2168",
+ .suppress_bind_attrs = true,
},
.probe = si2168_probe,
.remove = si2168_remove,