[media] si2157: do not allow driver unbind
authorAntti Palosaari <[email protected]>
Wed, 29 Jun 2016 23:38:19 +0000 (20:38 -0300)
committerMauro Carvalho Chehab <[email protected]>
Fri, 8 Jul 2016 19:54:54 +0000 (16:54 -0300)
Disable runtime unbind as driver does not support it.

Signed-off-by: Antti Palosaari <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/tuners/si2157.c

index b07a681f3fbc7e0cfaef675314995055e4675182..57b250847cd37cf53fe86862121dfae16e109c2c 100644 (file)
@@ -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,