Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21630
b: refs/heads/master
c: 123aab2
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Boettcher authored and Mauro Carvalho Chehab committed Feb 7, 2006
1 parent 5bfe9e8 commit da6dbe2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: fb51fd2d345021d0cc34848319f4efa75c9e1daa
refs/heads/master: 123aab28608ac81938865b31db188c985aeb4424
6 changes: 4 additions & 2 deletions trunk/drivers/media/dvb/dvb-usb/vp7045-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@

struct vp7045_fe_state {
struct dvb_frontend fe;
struct dvb_frontend_ops ops;

struct dvb_usb_device *d;
};


static int vp7045_fe_read_status(struct dvb_frontend* fe, fe_status_t *status)
{
struct vp7045_fe_state *state = fe->demodulator_priv;
Expand Down Expand Up @@ -150,7 +151,8 @@ struct dvb_frontend * vp7045_fe_attach(struct dvb_usb_device *d)
goto error;

s->d = d;
s->fe.ops = &vp7045_fe_ops;
memcpy(&s->ops, &vp7045_fe_ops, sizeof(struct dvb_frontend_ops));
s->fe.ops = &s->ops;
s->fe.demodulator_priv = s;

goto success;
Expand Down

0 comments on commit da6dbe2

Please sign in to comment.