From: Antti Palosaari Date: Wed, 29 Jun 2016 23:38:19 +0000 (-0300) Subject: [media] si2157: do not allow driver unbind X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e6dd44d9e12b0a1c8c48c542874d5eb1a6274d8e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] si2157: 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/tuners/si2157.c b/drivers/media/tuners/si2157.c index b07a681f3fbc..57b250847cd3 100644 --- a/drivers/media/tuners/si2157.c +++ b/drivers/media/tuners/si2157.c @@ -514,7 +514,8 @@ MODULE_DEVICE_TABLE(i2c, si2157_id_table); static struct i2c_driver si2157_driver = { .driver = { - .name = "si2157", + .name = "si2157", + .suppress_bind_attrs = true, }, .probe = si2157_probe, .remove = si2157_remove,