summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2016-06-30 02:40:22 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 23:01:00 +0300
commit728121753124924257090c82357a9d72a02b27a2 (patch)
treeefa7afb13541cf3e145c148a3878bbb385a01450
parent659a0999fd12dbf5b4db6a158adca6e72fa4293a (diff)
downloadlinux-728121753124924257090c82357a9d72a02b27a2.tar.xz
[media] af9033: 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/af9033.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c
index 42fbd0fb27c8..6c2f9b8f7395 100644
--- a/drivers/media/dvb-frontends/af9033.c
+++ b/drivers/media/dvb-frontends/af9033.c
@@ -1373,6 +1373,7 @@ MODULE_DEVICE_TABLE(i2c, af9033_id_table);
static struct i2c_driver af9033_driver = {
.driver = {
.name = "af9033",
+ .suppress_bind_attrs = true,
},
.probe = af9033_probe,
.remove = af9033_remove,