From: Antti Palosaari Date: Wed, 29 Jun 2016 23:40:22 +0000 (-0300) Subject: [media] af9033: do not allow driver unbind X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=728121753124924257090c82357a9d72a02b27a2;p=linux-beck.git [media] af9033: do not allow driver unbind Disable runtime unbind as driver does not support it. Signed-off-by: Antti Palosaari Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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,