summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-06-30 02:40:55 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 23:01:47 +0300
commit95e7cdb7db5857ddb3af01d9cd9895eb24a3b93f (patch)
tree19464957a2148138cbf89b9fd44f6fa782ab1193 /drivers/media/dvb-frontends
parentd8d8636639631b35cbfefecea60be4d80139e98f (diff)
downloadlinux-95e7cdb7db5857ddb3af01d9cd9895eb24a3b93f.tar.xz
[media] rtl2830: 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/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/rtl2830.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830.c b/drivers/media/dvb-frontends/rtl2830.c
index d25d1e0cd4ca..ec1e94a0a238 100644
--- a/drivers/media/dvb-frontends/rtl2830.c
+++ b/drivers/media/dvb-frontends/rtl2830.c
@@ -922,7 +922,8 @@ MODULE_DEVICE_TABLE(i2c, rtl2830_id_table);
static struct i2c_driver rtl2830_driver = {
.driver = {
- .name = "rtl2830",
+ .name = "rtl2830",
+ .suppress_bind_attrs = true,
},
.probe = rtl2830_probe,
.remove = rtl2830_remove,