summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/sp887x.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends/sp887x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/sp887x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c
index 5f7b9b87d..1f53e09c3 100644
--- a/linux/drivers/media/dvb/frontends/sp887x.c
+++ b/linux/drivers/media/dvb/frontends/sp887x.c
@@ -622,7 +622,8 @@ static int attach_adapter(struct i2c_adapter *adapter)
goto out;
}
- ret = dvb_register_frontend_new (sp887x_ioctl, state->dvb, (void*) state, &sp887x_info);
+ ret = dvb_register_frontend_new(sp887x_ioctl, state->dvb, state,
+ &sp887x_info, THIS_MODULE);
if (ret) {
printk("sp887x: registering frontend to dvb-core failed.\n");
goto out;