diff options
author | Michael Hunold <devnull@localhost> | 2004-11-08 08:41:59 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-11-08 08:41:59 +0000 |
commit | 4c1bdaf31bdb12fd6bb7d53ba39229118c61c2c3 (patch) | |
tree | 11a17dbb9b1efb12ed83bf7d2d8488edff2328aa /linux/drivers/media/dvb/ttpci/budget.c | |
parent | b1adb56ca9f64c2cec0ba0ebb75332e51fd4ea79 (diff) | |
download | mediapointer-dvb-s2-4c1bdaf31bdb12fd6bb7d53ba39229118c61c2c3.tar.gz mediapointer-dvb-s2-4c1bdaf31bdb12fd6bb7d53ba39229118c61c2c3.tar.bz2 |
- make needlessly global code static
- whitespace and newline cleanups
Thanks to Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/budget.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget.c b/linux/drivers/media/dvb/ttpci/budget.c index 03359ee94..a9c156406 100644 --- a/linux/drivers/media/dvb/ttpci/budget.c +++ b/linux/drivers/media/dvb/ttpci/budget.c @@ -48,7 +48,6 @@ static void Set22K (struct budget *budget, int state) saa7146_setgpio(dev, 3, (state ? SAA7146_GPIO_OUTHI : SAA7146_GPIO_OUTLO)); } - /* Diseqc functions only for TT Budget card */ /* taken from the Skyvision DVB driver by Ralph Metzler <rjkm@metzlerbros.de> */ @@ -64,7 +63,6 @@ static void DiseqcSendBit (struct budget *budget, int data) udelay(data ? 1000 : 500); } - static void DiseqcSendByte (struct budget *budget, int data) { int i, par=1, d; @@ -80,7 +78,6 @@ static void DiseqcSendByte (struct budget *budget, int data) DiseqcSendBit(budget, par); } - static int SendDiSEqCMsg (struct budget *budget, int len, u8 *msg, unsigned long burst) { struct saa7146_dev *dev=budget->dev; @@ -110,7 +107,6 @@ static int SendDiSEqCMsg (struct budget *budget, int len, u8 *msg, unsigned long return 0; } - /* * Routines for the Fujitsu Siemens Activy budget card * 22 kHz tone and DiSEqC are handled by the frontend. @@ -136,7 +132,6 @@ static int SetVoltage_Activy (struct budget *budget, fe_sec_voltage_t voltage) return 0; } - static int siemens_budget_set_voltage(struct dvb_frontend* fe, fe_sec_voltage_t voltage) { struct budget* budget = (struct budget*) fe->dvb->priv; @@ -182,7 +177,6 @@ static int budget_diseqc_send_burst(struct dvb_frontend* fe, fe_sec_mini_cmd_t m return 0; } - static int alps_bsrv2_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params) { struct budget* budget = (struct budget*) fe->dvb->priv; @@ -218,7 +212,6 @@ static struct ves1x93_config alps_bsrv2_config = .pll_set = alps_bsrv2_pll_set, }; - static u8 alps_bsru6_inittab[] = { 0x01, 0x15, 0x02, 0x00, @@ -318,9 +311,6 @@ static struct stv0299_config alps_bsru6_config = { .pll_set = alps_bsru6_pll_set, }; - - - static int alps_tdbe2_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params) { struct budget* budget = (struct budget*) fe->dvb->priv; @@ -347,8 +337,6 @@ static struct ves1820_config alps_tdbe2_config = { .pll_set = alps_tdbe2_pll_set, }; - - static int grundig_29504_401_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params) { struct budget* budget = (struct budget*) fe->dvb->priv; @@ -385,9 +373,6 @@ static struct l64781_config grundig_29504_401_config = { .pll_set = grundig_29504_401_pll_set, }; - - - static int grundig_29504_451_pll_set(struct dvb_frontend* fe, struct dvb_frontend_parameters* params) { struct budget* budget = (struct budget*) fe->dvb->priv; @@ -512,7 +497,6 @@ static int budget_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_ return 0; } - static int budget_detach (struct saa7146_dev* dev) { struct budget *budget = (struct budget*) dev->ext_priv; @@ -528,8 +512,6 @@ static int budget_detach (struct saa7146_dev* dev) return err; } - - static struct saa7146_extension budget_extension; MAKE_BUDGET_INFO(ttbs, "TT-Budget/WinTV-NOVA-S PCI", BUDGET_TT); @@ -564,13 +546,11 @@ static struct saa7146_extension budget_extension = { .irq_func = ttpci_budget_irq10_handler, }; - static int __init budget_init(void) { return saa7146_register_extension(&budget_extension); } - static void __exit budget_exit(void) { saa7146_unregister_extension(&budget_extension); |