diff options
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda1004x.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c index e172e4805..9b265bde3 100644 --- a/linux/drivers/media/dvb/frontends/tda1004x.c +++ b/linux/drivers/media/dvb/frontends/tda1004x.c @@ -1503,7 +1503,9 @@ static int attach_adapter(struct i2c_adapter *adapter) goto out; } - ret = dvb_register_frontend_new (tda1004x_ioctl, state->dvb, (void*) state, &tda10045h_info); + ret = dvb_register_frontend_new(tda1004x_ioctl, state->dvb, + state, &tda10045h_info, + THIS_MODULE); break; case FE_TYPE_TDA10046H: state->dspCodeCounterReg = TDA10046H_CODE_CPT; @@ -1516,7 +1518,9 @@ static int attach_adapter(struct i2c_adapter *adapter) goto out; } - ret = dvb_register_frontend_new (tda1004x_ioctl, state->dvb, (void*) state, &tda10046h_info); + ret = dvb_register_frontend_new(tda1004x_ioctl, state->dvb, + state, &tda10046h_info, + THIS_MODULE); break; default: BUG_ON(1); |