[media] dvb: remove the extra parameter on get_frontend
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 13:39:36 +0000 (11:39 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 31 Dec 2011 13:39:36 +0000 (11:39 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/as102/as102_fe.c

index d6472eace7b5965f82bdb8214f9c2879310e3827..06bfe84aeb276791338ff732ff3b03bec549d939 100644 (file)
@@ -58,9 +58,9 @@ static int as102_fe_set_frontend(struct dvb_frontend *fe)
        return (ret < 0) ? -EINVAL : 0;
 }
 
-static int as102_fe_get_frontend(struct dvb_frontend *fe,
-                                struct dtv_frontend_properties *p)
+static int as102_fe_get_frontend(struct dvb_frontend *fe)
 {
+       struct dtv_frontend_properties *p = &fe->dtv_property_cache;
        int ret = 0;
        struct as102_dev_t *dev;
        struct as10x_tps tps = { 0 };