summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-06-29 23:40:57 (GMT)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 20:02:53 (GMT)
commit678fdb6889a3ab9bc848550a373b3af9a95a1090 (patch)
treedce43e6eedfa13599464c81e0b11260a822d2f29
parent4a7e445b1b02cc6acd051c064cae7c325e411842 (diff)
downloadlinux-678fdb6889a3ab9bc848550a373b3af9a95a1090.tar.xz
[media] rtl2832: 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/rtl2832.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c
index c16c69e..0ced01f 100644
--- a/drivers/media/dvb-frontends/rtl2832.c
+++ b/drivers/media/dvb-frontends/rtl2832.c
@@ -1148,6 +1148,7 @@ MODULE_DEVICE_TABLE(i2c, rtl2832_id_table);
static struct i2c_driver rtl2832_driver = {
.driver = {
.name = "rtl2832",
+ .suppress_bind_attrs = true,
},
.probe = rtl2832_probe,
.remove = rtl2832_remove,