diff options
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 4 | ||||
-rw-r--r-- | drivers/media/video/tuner-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/tuner-types.c | 19 |
3 files changed, 7 insertions, 18 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 00665d6ffc17..666630572f35 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -154,6 +154,7 @@ struct em28xx_board em28xx_boards[] = { | |||
154 | .amux = 1, | 154 | .amux = 1, |
155 | }}, | 155 | }}, |
156 | }, | 156 | }, |
157 | #ifdef CONFIG_XC3028 | ||
157 | [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = { | 158 | [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = { |
158 | .name = "Hauppauge WinTV HVR 900", | 159 | .name = "Hauppauge WinTV HVR 900", |
159 | .vchannels = 3, | 160 | .vchannels = 3, |
@@ -222,6 +223,7 @@ struct em28xx_board em28xx_boards[] = { | |||
222 | .amux = 1, | 223 | .amux = 1, |
223 | }}, | 224 | }}, |
224 | }, | 225 | }, |
226 | #endif | ||
225 | [EM2820_BOARD_MSI_VOX_USB_2] = { | 227 | [EM2820_BOARD_MSI_VOX_USB_2] = { |
226 | .name = "MSI VOX USB 2.0", | 228 | .name = "MSI VOX USB 2.0", |
227 | .vchannels = 3, | 229 | .vchannels = 3, |
@@ -340,9 +342,11 @@ struct usb_device_id em28xx_id_table [] = { | |||
340 | { USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 }, | 342 | { USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 }, |
341 | { USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 }, | 343 | { USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 }, |
342 | { USB_DEVICE(0x2304, 0x0207), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 }, | 344 | { USB_DEVICE(0x2304, 0x0207), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 }, |
345 | #ifdef CONFIG_XC3028 | ||
343 | { USB_DEVICE(0x2040, 0x6500), .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900 }, | 346 | { USB_DEVICE(0x2040, 0x6500), .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900 }, |
344 | { USB_DEVICE(0x0ccd, 0x0042), .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, | 347 | { USB_DEVICE(0x0ccd, 0x0042), .driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS }, |
345 | { USB_DEVICE(0x0ccd, 0x0047), .driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS }, | 348 | { USB_DEVICE(0x0ccd, 0x0047), .driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS }, |
349 | #endif | ||
346 | { }, | 350 | { }, |
347 | }; | 351 | }; |
348 | 352 | ||
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 4a660a4228b9..3a96cc4ae81d 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -216,9 +216,11 @@ static void set_type(struct i2c_client *c, unsigned int type, | |||
216 | i2c_master_send(c,buffer,4); | 216 | i2c_master_send(c,buffer,4); |
217 | default_tuner_init(c); | 217 | default_tuner_init(c); |
218 | break; | 218 | break; |
219 | #ifdef CONFIG_XC3028 | ||
219 | case TUNER_XCEIVE_XC3028: | 220 | case TUNER_XCEIVE_XC3028: |
220 | xc3028_init(c); | 221 | xc3028_init(c); |
221 | break; | 222 | break; |
223 | #endif | ||
222 | default: | 224 | default: |
223 | default_tuner_init(c); | 225 | default_tuner_init(c); |
224 | break; | 226 | break; |
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c index a4384e6e5318..15761dd8607d 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c | |||
@@ -983,23 +983,6 @@ static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = { | |||
983 | }, | 983 | }, |
984 | }; | 984 | }; |
985 | 985 | ||
986 | /* ------------ TUNER_XCEIVE_XC3028 - Xceive xc3028 ------------ */ | ||
987 | |||
988 | static struct tuner_range tuner_xceive_xc3028_ranges[] = { | ||
989 | { 16 * 140.25 /*MHz*/, 0x02, }, | ||
990 | { 16 * 463.25 /*MHz*/, 0x04, }, | ||
991 | { 16 * 999.99 , 0x01, }, | ||
992 | }; | ||
993 | |||
994 | static struct tuner_params tuner_xceive_xc3028_params[] = { | ||
995 | { | ||
996 | .type = TUNER_XCEIVE_XC3028, | ||
997 | .ranges = tuner_xceive_xc3028_ranges, | ||
998 | .count = ARRAY_SIZE(tuner_xceive_xc3028_ranges), | ||
999 | }, | ||
1000 | }; | ||
1001 | |||
1002 | |||
1003 | /* --------------------------------------------------------------------- */ | 986 | /* --------------------------------------------------------------------- */ |
1004 | 987 | ||
1005 | struct tunertype tuners[] = { | 988 | struct tunertype tuners[] = { |
@@ -1369,7 +1352,7 @@ struct tunertype tuners[] = { | |||
1369 | }, | 1352 | }, |
1370 | [TUNER_XCEIVE_XC3028] = { /* Xceive 3028 */ | 1353 | [TUNER_XCEIVE_XC3028] = { /* Xceive 3028 */ |
1371 | .name = "Xceive xc3028", | 1354 | .name = "Xceive xc3028", |
1372 | .params = tuner_xceive_xc3028_params, | 1355 | /* see xc3028.c for details */ |
1373 | }, | 1356 | }, |
1374 | }; | 1357 | }; |
1375 | 1358 | ||