diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-05-05 11:05:39 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-05-05 11:05:39 -0400 |
commit | 9e77d37f02dfdf40e28145025105c9b0d8466a21 (patch) | |
tree | ebad49c4d8753928b9a968a29a96eb37e4025ebd /linux/drivers/media/dvb/frontends/dvb-pll.h | |
parent | 76775b7f2ced0c0301ac3ae201aafc3d9b88e091 (diff) | |
download | mediapointer-dvb-s2-9e77d37f02dfdf40e28145025105c9b0d8466a21.tar.gz mediapointer-dvb-s2-9e77d37f02dfdf40e28145025105c9b0d8466a21.tar.bz2 |
dvb-pll: pass dvb_frontend_parameters to generic set() function
From: Michael Krufky <mkrufky@linuxtv.org>
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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/dvb-pll.h')
-rw-r--r-- | linux/drivers/media/dvb/frontends/dvb-pll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/dvb-pll.h b/linux/drivers/media/dvb/frontends/dvb-pll.h index 5209f46f0..83f1279da 100644 --- a/linux/drivers/media/dvb/frontends/dvb-pll.h +++ b/linux/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. |