[media] af9033: do not allow driver unbind
authorAntti Palosaari <crope@iki.fi>
Wed, 29 Jun 2016 23:40:22 +0000 (20:40 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Jul 2016 20:01:00 +0000 (17:01 -0300)
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>
drivers/media/dvb-frontends/af9033.c

index 42fbd0f..6c2f9b8 100644 (file)
@@ -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,