summaryrefslogtreecommitdiff
path: root/drivers/media/usb/as102/as102_drv.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-13 01:50:19 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-22 00:25:29 +0400
commitb601d9a5d668119219d1db95cbe04fdc38eaf5a4 (patch)
treee9d325a042df220c202697cd8ed01b7c5eb344cf /drivers/media/usb/as102/as102_drv.h
parentd8eb070b6649c1663204300555fb740affc6cdc2 (diff)
downloadlinux-b601d9a5d668119219d1db95cbe04fdc38eaf5a4.tar.xz
[media] as102: Move ancillary routines to the beggining
Avoid having function prototypes by moving some ancillary routines to the beginning of the file. No functional changes. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/as102/as102_drv.h')
-rw-r--r--drivers/media/usb/as102/as102_drv.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/media/usb/as102/as102_drv.h b/drivers/media/usb/as102/as102_drv.h
index d6e08e23b366..1e2a76d3c517 100644
--- a/drivers/media/usb/as102/as102_drv.h
+++ b/drivers/media/usb/as102/as102_drv.h
@@ -60,17 +60,10 @@ struct as102_dev_t {
uint8_t elna_cfg;
struct dvb_adapter dvb_adap;
- struct dvb_frontend dvb_fe;
+ struct dvb_frontend *dvb_fe;
struct dvb_demux dvb_dmx;
struct dmxdev dvb_dmxdev;
- /* demodulator stats */
- struct as10x_demod_stats demod_stats;
- /* signal strength */
- uint16_t signal_strength;
- /* bit error rate */
- uint32_t ber;
-
/* timer handle to trig ts stream download */
struct timer_list timer_handle;
@@ -84,5 +77,7 @@ struct as102_dev_t {
int as102_dvb_register(struct as102_dev_t *dev);
void as102_dvb_unregister(struct as102_dev_t *dev);
-int as102_dvb_register_fe(struct as102_dev_t *dev, struct dvb_frontend *fe);
-int as102_dvb_unregister_fe(struct dvb_frontend *dev);
+/* FIXME: move it to a separate header */
+struct dvb_frontend *as102_attach(const char *name,
+ struct as10x_bus_adapter_t *bus_adap,
+ uint8_t elna_cfg);