From: Antti Palosaari Date: Wed, 29 Jun 2016 23:38:18 +0000 (-0300) Subject: [media] si2168: do not allow driver unbind X-Git-Tag: v4.8-rc1~152^2~146 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e06be1da137a72d7268ed95bd3de02c9b81cce7c;p=karo-tx-linux.git [media] si2168: 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/si2168.c b/drivers/media/dvb-frontends/si2168.c index 124addc0aea9..20b4a659e2e4 100644 --- a/drivers/media/dvb-frontends/si2168.c +++ b/drivers/media/dvb-frontends/si2168.c @@ -745,7 +745,8 @@ MODULE_DEVICE_TABLE(i2c, si2168_id_table); static struct i2c_driver si2168_driver = { .driver = { - .name = "si2168", + .name = "si2168", + .suppress_bind_attrs = true, }, .probe = si2168_probe, .remove = si2168_remove,