aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/cx25821/cx25821-cards.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/cx25821/cx25821-cards.c')
-rw-r--r--drivers/staging/cx25821/cx25821-cards.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/cx25821/cx25821-cards.c b/drivers/staging/cx25821/cx25821-cards.c
index eaaa56707c1..f8f3c327916 100644
--- a/drivers/staging/cx25821/cx25821-cards.c
+++ b/drivers/staging/cx25821/cx25821-cards.c
@@ -30,12 +30,12 @@
30#include "cx25821.h" 30#include "cx25821.h"
31#include "tuner-xc2028.h" 31#include "tuner-xc2028.h"
32 32
33// board config info 33// board config info
34 34
35struct cx25821_board cx25821_boards[] = { 35struct cx25821_board cx25821_boards[] = {
36 [UNKNOWN_BOARD] = { 36 [UNKNOWN_BOARD] = {
37 .name = "UNKNOWN/GENERIC", 37 .name = "UNKNOWN/GENERIC",
38 // Ensure safe default for unknown boards 38 // Ensure safe default for unknown boards
39 .clk_freq = 0, 39 .clk_freq = 0,
40 }, 40 },
41 41
@@ -43,8 +43,8 @@ struct cx25821_board cx25821_boards[] = {
43 .name = "CX25821", 43 .name = "CX25821",
44 .portb = CX25821_RAW, 44 .portb = CX25821_RAW,
45 .portc = CX25821_264, 45 .portc = CX25821_264,
46 .input[0].type = CX25821_VMUX_COMPOSITE, 46 .input[0].type = CX25821_VMUX_COMPOSITE,
47 }, 47 },
48 48
49}; 49};
50 50
@@ -63,7 +63,7 @@ void cx25821_card_setup(struct cx25821_dev *dev)
63{ 63{
64 static u8 eeprom[256]; 64 static u8 eeprom[256];
65 65
66 if (dev->i2c_bus[0].i2c_rc == 0) 66 if (dev->i2c_bus[0].i2c_rc == 0)
67 { 67 {
68 dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1; 68 dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1;
69 tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom, sizeof(eeprom)); 69 tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom, sizeof(eeprom));