aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/nova-t-usb2.c
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-10-13 11:33:26 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-10-14 00:44:28 -0300
commit6a74216c4590e4d322a45e1085f3553b1fb07f06 (patch)
tree61864386d594b3c724eab70e58dca6c9cdb5e00c /drivers/media/dvb/dvb-usb/nova-t-usb2.c
parent5011915cbb139a331c083e65a61c82e9174f9813 (diff)
V4L/DVB (4748): Fixed oops for Nova-T USB2
When using the remote control with the Nova-T USB there was an Oops because of the recent DVB-USB-Adapter change. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/nova-t-usb2.c')
-rw-r--r--drivers/media/dvb/dvb-usb/nova-t-usb2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/nova-t-usb2.c b/drivers/media/dvb/dvb-usb/nova-t-usb2.c
index a9219bf69b8..a58874c790b 100644
--- a/drivers/media/dvb/dvb-usb/nova-t-usb2.c
+++ b/drivers/media/dvb/dvb-usb/nova-t-usb2.c
@@ -75,7 +75,7 @@ static int nova_t_rc_query(struct dvb_usb_device *d, u32 *event, int *state)
u8 key[5],cmd[2] = { DIBUSB_REQ_POLL_REMOTE, 0x35 }, data,toggle,custom;
u16 raw;
int i;
- struct dibusb_state *st = d->priv;
+ struct dibusb_device_state *st = d->priv;
dvb_usb_generic_rw(d,cmd,2,key,5,0);
@@ -184,6 +184,7 @@ static struct dvb_usb_device_properties nova_t_properties = {
.size_of_priv = sizeof(struct dibusb_state),
}
},
+ .size_of_priv = sizeof(struct dibusb_device_state),
.power_ctrl = dibusb2_0_power_ctrl,
.read_mac_address = nova_t_read_mac_address,