]> err.no Git - linux-2.6/blobdiff - drivers/media/dvb/dvb-core/dvb_frontend.h
V4L/DVB (4160): Use device specific algorithms
[linux-2.6] / drivers / media / dvb / dvb-core / dvb_frontend.h
index 05ec9954b158c4f98febf282fe427cb9189b2809..2887e2b862a4436d1002a5dcee6ffafb1b5aba1f 100644 (file)
@@ -102,6 +102,8 @@ struct dvb_frontend_ops {
                    unsigned int mode_flags,
                    int *delay,
                    fe_status_t *status);
+       /* get frontend tuning algorithm from the module */
+       int (*get_frontend_algo)(struct dvb_frontend *fe);
 
        /* these two are only used for the swzigzag code */
        int (*set_frontend)(struct dvb_frontend* fe, struct dvb_frontend_parameters* params);
@@ -140,7 +142,7 @@ struct dvb_fe_events {
 };
 
 struct dvb_frontend {
-       struct dvb_frontend_ops* ops;
+       struct dvb_frontend_ops ops;
        struct dvb_adapter *dvb;
        void* demodulator_priv;
        void* tuner_priv;