aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/dvb/dvb-usb/vp702x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/vp702x.c b/drivers/media/dvb/dvb-usb/vp702x.c
index 4c9939ffb720..25536f98c4d1 100644
--- a/drivers/media/dvb/dvb-usb/vp702x.c
+++ b/drivers/media/dvb/dvb-usb/vp702x.c
@@ -23,7 +23,7 @@ MODULE_PARM_DESC(debug, "set debugging level (1=info,xfer=2,rc=4 (or-able))." DV
23 23
24DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); 24DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);
25 25
26struct vp702x_state { 26struct vp702x_adapter_state {
27 int pid_filter_count; 27 int pid_filter_count;
28 int pid_filter_can_bypass; 28 int pid_filter_can_bypass;
29 u8 pid_filter_state; 29 u8 pid_filter_state;
@@ -126,7 +126,7 @@ static int vp702x_set_pld_state(struct dvb_usb_adapter *adap, u8 state)
126 126
127static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff) 127static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onoff)
128{ 128{
129 struct vp702x_state *st = adap->priv; 129 struct vp702x_adapter_state *st = adap->priv;
130 u8 buf[16] = { 0 }; 130 u8 buf[16] = { 0 };
131 131
132 if (onoff) 132 if (onoff)
@@ -147,7 +147,7 @@ static int vp702x_set_pid(struct dvb_usb_adapter *adap, u16 pid, u8 id, int onof
147 147
148static int vp702x_init_pid_filter(struct dvb_usb_adapter *adap) 148static int vp702x_init_pid_filter(struct dvb_usb_adapter *adap)
149{ 149{
150 struct vp702x_state *st = adap->priv; 150 struct vp702x_adapter_state *st = adap->priv;
151 int i; 151 int i;
152 u8 b[10] = { 0 }; 152 u8 b[10] = { 0 };
153 153
@@ -279,7 +279,7 @@ static struct dvb_usb_device_properties vp702x_properties = {
279 } 279 }
280 } 280 }
281 }, 281 },
282 .size_of_priv = sizeof(struct vp702x_state), 282 .size_of_priv = sizeof(struct vp702x_adapter_state),
283 } 283 }
284 }, 284 },
285 .read_mac_address = vp702x_read_mac_addr, 285 .read_mac_address = vp702x_read_mac_addr,