Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294862
b: refs/heads/master
c: 978c26c
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 21, 2012
1 parent 67dc455 commit e226926
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 781dacc82ac8105e19dd62e76b8d4278e680af81
refs/heads/master: 978c26c3672a15fd545da2e927467b5b6bd67acb
11 changes: 5 additions & 6 deletions trunk/drivers/media/dvb/dvb-usb/az6007.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable)
if (!adap)
return -EINVAL;

st = adap->priv;
st = adap->dev->priv;

if (!st)
return -EINVAL;
Expand Down Expand Up @@ -288,7 +288,7 @@ static int az6007_led_on_off(struct usb_interface *intf, int onoff)

static int az6007_frontend_attach(struct dvb_usb_adapter *adap)
{
struct az6007_device_state *st = adap->priv;
struct az6007_device_state *st = adap->dev->priv;

BUG_ON(!st);

Expand All @@ -311,7 +311,7 @@ static int az6007_frontend_attach(struct dvb_usb_adapter *adap)

static int az6007_tuner_attach(struct dvb_usb_adapter *adap)
{
struct az6007_device_state *st = adap->priv;
struct az6007_device_state *st = adap->dev->priv;

if (st->tuner_attached)
return 0;
Expand Down Expand Up @@ -516,8 +516,8 @@ static struct dvb_usb_device_properties az6007_properties = {
.usb_ctrl = CYPRESS_FX2,
.firmware = "dvb-usb-terratec-h7-az6007.fw",
.no_reconnect = 1,

.identify_state = az6007_identify_state,
.size_of_priv = sizeof(struct az6007_device_state),
.identify_state = az6007_identify_state,
.num_adapters = 1,
.adapter = {
{
Expand All @@ -538,7 +538,6 @@ static struct dvb_usb_device_properties az6007_properties = {
}
}
},
.size_of_priv = sizeof(struct az6007_device_state),
}}
} },
.power_ctrl = az6007_power_ctrl,
Expand Down

0 comments on commit e226926

Please sign in to comment.