summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv0299.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0299.c')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c
index 3866ea2da..e4cd9a351 100644
--- a/linux/drivers/media/dvb/frontends/stv0299.c
+++ b/linux/drivers/media/dvb/frontends/stv0299.c
@@ -1395,7 +1395,8 @@ static int attach_adapter(struct i2c_adapter *adapter)
BUG_ON(!state->dvb);
- ret = dvb_register_frontend_new (uni0299_ioctl, state->dvb, (void*) state, &uni0299_info);
+ ret = dvb_register_frontend_new(uni0299_ioctl, state->dvb, state,
+ &uni0299_info, THIS_MODULE);
if (ret) {
i2c_detach_client(client);
kfree(client);