diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-12-21 09:18:32 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:04:11 -0500 |
commit | bc3e5c7fc20d3c09667067878fb7a55dd9fc041d (patch) | |
tree | 81d83ec2aa0b21f8b594d45a398bdefe206ad3e3 /drivers/media/dvb/dvb-core | |
parent | 9ad89f0104314786138d580ab2c1119e7e470f56 (diff) |
V4L/DVB (6881): include struct analog_demod_ops directly inside struct dvb_frontend
Rather than using a pointer, include struct analog_demod_ops directly
inside struct dvb_frontend. This will allow us to use dvb_attach in
the future, along with removing the need to check the ops structure
before having to check the pointer to the method being called.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-core')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.h b/drivers/media/dvb/dvb-core/dvb_frontend.h index 417802f83f7e..aa4133f0bd19 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.h +++ b/drivers/media/dvb/dvb-core/dvb_frontend.h | |||
@@ -105,7 +105,7 @@ struct analog_demod_info { | |||
105 | char *name; | 105 | char *name; |
106 | }; | 106 | }; |
107 | 107 | ||
108 | struct analog_tuner_ops { | 108 | struct analog_demod_ops { |
109 | 109 | ||
110 | struct analog_demod_info info; | 110 | struct analog_demod_info info; |
111 | 111 | ||
@@ -168,7 +168,7 @@ struct dvb_frontend_ops { | |||
168 | int (*ts_bus_ctrl)(struct dvb_frontend* fe, int acquire); | 168 | int (*ts_bus_ctrl)(struct dvb_frontend* fe, int acquire); |
169 | 169 | ||
170 | struct dvb_tuner_ops tuner_ops; | 170 | struct dvb_tuner_ops tuner_ops; |
171 | struct analog_tuner_ops *analog_demod_ops; | 171 | struct analog_demod_ops analog_ops; |
172 | }; | 172 | }; |
173 | 173 | ||
174 | #define MAX_EVENT 8 | 174 | #define MAX_EVENT 8 |