diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-11 16:46:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-11 16:46:46 -0500 |
commit | d0c4c9d4a2e46f052178806c4004d52cd3ae040f (patch) | |
tree | 648f09c93d8aab711ba9aa9f3cb424462a5b6222 /drivers | |
parent | 460c54b779fce3490ab70a84fd2ef59250ca3d57 (diff) | |
parent | da517164f5b9133ecc7a020342e90452c215ec0f (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb:
V4L/DVB (7001): av7110: fix section mismatch
V4L/DVB (6999): ivtv: stick to udelay=10 after all
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110.c | 10 | ||||
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.c | 4 |
2 files changed, 5 insertions, 9 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index 8b8144f77a73..0d36c155695b 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c | |||
@@ -2800,12 +2800,12 @@ static void av7110_irq(struct saa7146_dev* dev, u32 *isr) | |||
2800 | } | 2800 | } |
2801 | 2801 | ||
2802 | 2802 | ||
2803 | static struct saa7146_extension av7110_extension; | 2803 | static struct saa7146_extension av7110_extension_driver; |
2804 | 2804 | ||
2805 | #define MAKE_AV7110_INFO(x_var,x_name) \ | 2805 | #define MAKE_AV7110_INFO(x_var,x_name) \ |
2806 | static struct saa7146_pci_extension_data x_var = { \ | 2806 | static struct saa7146_pci_extension_data x_var = { \ |
2807 | .ext_priv = x_name, \ | 2807 | .ext_priv = x_name, \ |
2808 | .ext = &av7110_extension } | 2808 | .ext = &av7110_extension_driver } |
2809 | 2809 | ||
2810 | MAKE_AV7110_INFO(tts_1_X_fsc,"Technotrend/Hauppauge WinTV DVB-S rev1.X or Fujitsu Siemens DVB-C"); | 2810 | MAKE_AV7110_INFO(tts_1_X_fsc,"Technotrend/Hauppauge WinTV DVB-S rev1.X or Fujitsu Siemens DVB-C"); |
2811 | MAKE_AV7110_INFO(ttt_1_X, "Technotrend/Hauppauge WinTV DVB-T rev1.X"); | 2811 | MAKE_AV7110_INFO(ttt_1_X, "Technotrend/Hauppauge WinTV DVB-T rev1.X"); |
@@ -2843,7 +2843,7 @@ static struct pci_device_id pci_tbl[] = { | |||
2843 | MODULE_DEVICE_TABLE(pci, pci_tbl); | 2843 | MODULE_DEVICE_TABLE(pci, pci_tbl); |
2844 | 2844 | ||
2845 | 2845 | ||
2846 | static struct saa7146_extension av7110_extension = { | 2846 | static struct saa7146_extension av7110_extension_driver = { |
2847 | .name = "dvb", | 2847 | .name = "dvb", |
2848 | .flags = SAA7146_USE_I2C_IRQ, | 2848 | .flags = SAA7146_USE_I2C_IRQ, |
2849 | 2849 | ||
@@ -2860,14 +2860,14 @@ static struct saa7146_extension av7110_extension = { | |||
2860 | static int __init av7110_init(void) | 2860 | static int __init av7110_init(void) |
2861 | { | 2861 | { |
2862 | int retval; | 2862 | int retval; |
2863 | retval = saa7146_register_extension(&av7110_extension); | 2863 | retval = saa7146_register_extension(&av7110_extension_driver); |
2864 | return retval; | 2864 | return retval; |
2865 | } | 2865 | } |
2866 | 2866 | ||
2867 | 2867 | ||
2868 | static void __exit av7110_exit(void) | 2868 | static void __exit av7110_exit(void) |
2869 | { | 2869 | { |
2870 | saa7146_unregister_extension(&av7110_extension); | 2870 | saa7146_unregister_extension(&av7110_extension_driver); |
2871 | } | 2871 | } |
2872 | 2872 | ||
2873 | module_init(av7110_init); | 2873 | module_init(av7110_init); |
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 10d6faf8ccda..6d2dd8764f81 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -1076,10 +1076,6 @@ static int __devinit ivtv_probe(struct pci_dev *dev, | |||
1076 | ivtv_process_eeprom(itv); | 1076 | ivtv_process_eeprom(itv); |
1077 | } | 1077 | } |
1078 | 1078 | ||
1079 | /* The mspx4xx chips need a longer delay for some reason */ | ||
1080 | if (!(itv->hw_flags & IVTV_HW_MSP34XX)) | ||
1081 | itv->i2c_algo.udelay = 5; | ||
1082 | |||
1083 | if (itv->std == 0) { | 1079 | if (itv->std == 0) { |
1084 | itv->std = V4L2_STD_NTSC_M; | 1080 | itv->std = V4L2_STD_NTSC_M; |
1085 | } | 1081 | } |