diff options
author | Gerd Knorr <devnull@localhost> | 2004-10-13 10:38:59 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-10-13 10:38:59 +0000 |
commit | edd4507a9edff255a67ce707442560a4ec4b3b14 (patch) | |
tree | d7c709acacb87b01d70340692df17aebcfbe2913 /linux/drivers/media/video/cx88/cx88-cards.c | |
parent | c391a6857f19bd7eb8b9a40dc238242c34332f7a (diff) | |
download | mediapointer-dvb-s2-edd4507a9edff255a67ce707442560a4ec4b3b14.tar.gz mediapointer-dvb-s2-edd4507a9edff255a67ce707442560a4ec4b3b14.tar.bz2 |
- kill trailing whitespaces.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-cards.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-cards.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-cards.c b/linux/drivers/media/video/cx88/cx88-cards.c index 5df094b78..26646fff1 100644 --- a/linux/drivers/media/video/cx88/cx88-cards.c +++ b/linux/drivers/media/video/cx88/cx88-cards.c @@ -1,5 +1,5 @@ /* - * $Id: cx88-cards.c,v 1.44 2004/10/12 07:33:22 kraxel Exp $ + * $Id: cx88-cards.c,v 1.45 2004/10/13 10:39:00 kraxel Exp $ * * device driver for Conexant 2388x based TV cards * card-specific stuff. @@ -289,7 +289,7 @@ struct cx88_board cx88_boards[] = { }, .blackbird = 1, }, - [CX88_BOARD_MSI_TVANYWHERE] = { + [CX88_BOARD_MSI_TVANYWHERE] = { .name = "MSI TV-@nywhere", .tuner_type = 33, .tda9887_conf = TDA9887_PRESENT, @@ -325,7 +325,7 @@ struct cx88_board cx88_boards[] = { }}, .dvb = 1, }, - [CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1] = { + [CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1] = { .name = "DVICO FusionHDTV DVB-T1", .tuner_type = TUNER_ABSENT, /* No analog tuner */ .input = {{ @@ -367,7 +367,7 @@ struct cx88_board cx88_boards[] = { [CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD] = { .name = "DViCO - FusionHDTV 3 Gold", .tuner_type = TUNER_MICROTUNE_4042FI5, - /* + /* GPIO[0] resets DT3302 DTV receiver 0 - reset asserted 1 - normal operation @@ -535,7 +535,7 @@ static void __devinit leadtek_eeprom(struct cx88_core *core, u8 *eeprom_data) */ if (eeprom_data[4] != 0x7d || - eeprom_data[5] != 0x10 || + eeprom_data[5] != 0x10 || eeprom_data[7] != 0x66) { printk(KERN_WARNING "%s: Leadtek eeprom invalid.\n", core->name); @@ -544,7 +544,7 @@ static void __devinit leadtek_eeprom(struct cx88_core *core, u8 *eeprom_data) core->has_radio = 1; core->tuner_type = (eeprom_data[6] == 0x13) ? 43 : 38; - + printk(KERN_INFO "%s: Leadtek Winfast 2000 XP config: " "tuner=%d, eeprom[0]=0x%02x\n", core->name, core->tuner_type, eeprom_data[0]); @@ -606,7 +606,7 @@ static struct { { TUNER_ABSENT, "Philips TD1536D_FH_44"}, { TUNER_LG_NTSC_FM, "LG TPI8NSR01F"}, { TUNER_LG_PAL_FM, "LG TPI8PSB01D"}, - { TUNER_LG_PAL, "LG TPI8PSB11D"}, + { TUNER_LG_PAL, "LG TPI8PSB11D"}, { TUNER_LG_PAL_I_FM, "LG TAPC-I001D"}, { TUNER_LG_PAL_I, "LG TAPC-I701D"} }; @@ -628,12 +628,12 @@ static void hauppauge_eeprom(struct cx88_core *core, u8 *eeprom_data) model = eeprom_data[12] << 8 | eeprom_data[11]; tuner = eeprom_data[9]; radio = eeprom_data[blk2-1] & 0x01; - + if (tuner < ARRAY_SIZE(hauppauge_tuner)) core->tuner_type = hauppauge_tuner[tuner].id; if (radio) core->has_radio = 1; - + printk(KERN_INFO "%s: hauppauge eeprom: model=%d, " "tuner=%s (%d), radio=%s\n", core->name, model, (tuner < ARRAY_SIZE(hauppauge_tuner) @@ -654,7 +654,7 @@ static int hauppauge_eeprom_dvb(struct cx88_core *core, u8 *ee) case 90500: case 90501: /* known */ - break; + break; default: printk("%s: warning: unknown hauppauge model #%d\n", core->name, model); @@ -667,19 +667,19 @@ static int hauppauge_eeprom_dvb(struct cx88_core *core, u8 *ee) case 0x4B: tname = "Thomson DTT 7595"; core->pll_type = PLLTYPE_DTT7595; - break; + break; case 0x4C: tname = "Thomson DTT 7592"; core->pll_type = PLLTYPE_DTT7592; - break; + break; default: printk("%s: error: unknown hauppauge tuner 0x%02x\n", core->name, tuner); - return -ENODEV; + return -ENODEV; } printk(KERN_INFO "%s: hauppauge eeprom: model=%d, tuner=%s (%d)\n", core->name, model, tname, tuner); - + core->pll_addr = 0x61; core->demod_addr = 0x43; } @@ -704,7 +704,7 @@ static struct { .name = "SECAM" }, [ 0x10 ] = { .id = TUNER_ABSENT, - .fm = 1, + .fm = 1, .name = "TEMIC_4049" }, [ 0x11 ] = { .id = TUNER_TEMIC_4136FY5, .name = "TEMIC_4136" }, @@ -796,7 +796,7 @@ void cx88_card_list(struct cx88_core *core, struct pci_dev *pci) void cx88_card_setup(struct cx88_core *core) { static u8 eeprom[128]; - + switch (core->board) { case CX88_BOARD_HAUPPAUGE: if (0 == core->i2c_rc) |