[media] dvb: don't require a parameter for get_frontend
[deliverable/linux.git] / drivers / media / dvb / frontends / au8522_dig.c
index 027d45dc0f030571cf1a7219818c7ad10f409588..762cd5e62faeb80b284607ceb2b9f7805159f57a 100644 (file)
@@ -911,9 +911,9 @@ static int au8522_read_ber(struct dvb_frontend *fe, u32 *ber)
        return au8522_read_ucblocks(fe, ber);
 }
 
-static int au8522_get_frontend(struct dvb_frontend *fe,
-                              struct dtv_frontend_properties *c)
+static int au8522_get_frontend(struct dvb_frontend *fe)
 {
+       struct dtv_frontend_properties *c = &fe->dtv_property_cache;
        struct au8522_state *state = fe->demodulator_priv;
 
        c->frequency = state->current_frequency;
This page took 0.052496 seconds and 5 git commands to generate.