summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/dvb-pll.h
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-05-05 12:05:39 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 14:23:12 -0300
commit77d675047062d514acdc1bbe9f84658b39f99abe (patch)
tree5b1026b1be33ef349152eedb091693900cf41b8e /drivers/media/dvb/frontends/dvb-pll.h
parent900858ecb30c27ac94369052be650e25c0fd7d2a (diff)
V4L/DVB (5632): Dvb-pll: pass dvb_frontend_parameters to generic set() function
Rename dvb_pll_desc.setbw() to set(), and accept struct dvb_frontend_parameters instead of passing both freq and bandwidth, so that this may be used as a generic function. In order to do this, dvb_pll_configure must also be altered in the same manner, to take struct dvb_frontend_parameters instead of freq and bandwidth. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/dvb-pll.h')
-rw-r--r--drivers/media/dvb/frontends/dvb-pll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.h b/drivers/media/dvb/frontends/dvb-pll.h
index 5209f46f0893..83f1279da77f 100644
--- a/drivers/media/dvb/frontends/dvb-pll.h
+++ b/drivers/media/dvb/frontends/dvb-pll.h
@@ -13,7 +13,7 @@ struct dvb_pll_desc {
u32 min;
u32 max;
u32 iffreq;
- void (*setbw)(u8 *buf, u32 freq, int bandwidth);
+ void (*set)(u8 *buf, const struct dvb_frontend_parameters *params);
u8 *initdata;
u8 *sleepdata;
int count;
@@ -51,7 +51,7 @@ extern struct dvb_pll_desc dvb_pll_thomson_fe6600;
extern struct dvb_pll_desc dvb_pll_opera1;
extern int dvb_pll_configure(struct dvb_pll_desc *desc, u8 *buf,
- u32 freq, int bandwidth);
+ const struct dvb_frontend_parameters *params);
/**
* Attach a dvb-pll to the supplied frontend structure.