Browse Source

[media] af9033: do not allow driver unbind

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>
Antti Palosaari 9 năm trước cách đây
mục cha
commit
7281217531

+ 1 - 0
drivers/media/dvb-frontends/af9033.c

@@ -1373,6 +1373,7 @@ MODULE_DEVICE_TABLE(i2c, af9033_id_table);
 static struct i2c_driver af9033_driver = {
 static struct i2c_driver af9033_driver = {
 	.driver = {
 	.driver = {
 		.name	= "af9033",
 		.name	= "af9033",
+		.suppress_bind_attrs	= true,
 	},
 	},
 	.probe		= af9033_probe,
 	.probe		= af9033_probe,
 	.remove		= af9033_remove,
 	.remove		= af9033_remove,