summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-06-29 20:40:57 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 17:02:53 -0300
commit678fdb6889a3ab9bc848550a373b3af9a95a1090 (patch)
treedce43e6eedfa13599464c81e0b11260a822d2f29 /drivers
parent4a7e445b1b02cc6acd051c064cae7c325e411842 (diff)
downloadlinux-678fdb6889a3ab9bc848550a373b3af9a95a1090.tar.gz
linux-678fdb6889a3ab9bc848550a373b3af9a95a1090.tar.bz2
linux-678fdb6889a3ab9bc848550a373b3af9a95a1090.zip
[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>
Diffstat (limited to 'drivers')
-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 c16c69e9d26c..0ced01f1012e 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,