Re: [patch, -git] media/video/sound build fix, TEA5761/TEA5767

Takashi Iwai
2008-04-30T11:58:20Z

At Wed, 30 Apr 2008 13:21:38 +0200,
Ingo Molnar wrote:
>
> Subject: sound/video: sound/i2c/other/tea575x-tuner.c build fix
> From: Ingo Molnar <mingo@elte.hu>
> Date: Tue Apr 29 22:40:31 CEST 2008
>
> fix build failure triggered by this config:
>
> http://redhat.com/~mingo/misc/config-Tue_Apr_29_22_33_36_CEST_2008.bad
>
> sound/i2c/other/tea575x-tuner.c: In function 'snd_tea575x_ioctl':
> sound/i2c/other/tea575x-tuner.c:95: error: 'VIDIOCGCAP' undeclared (first use in this function)
> sound/i2c/other/tea575x-tuner.c:95: error: (Each undeclared identifier is reported only once
> sound/i2c/other/tea575x-tuner.c:95: error: for each function it appears in.)
> sound/i2c/other/tea575x-tuner.c:97: error: storage size of 'v' isn't known
>
> that code still depends on VIDEO_V4L1_COMPAT APIs.
>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
> ---
> sound/pci/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux/sound/pci/Kconfig
> ===================================================================
> --- linux.orig/sound/pci/Kconfig
> +++ linux/sound/pci/Kconfig
> @@ -527,6 +527,7 @@ config SND_FM801_TEA575X
> tristate
> depends on SND_FM801_TEA575X_BOOL
> default SND_FM801
> + select VIDEO_V4L1_COMPAT
>
> config SND_HDA_INTEL
> tristate "Intel HD Audio"

This one shouldn't be needed with my patch.

Takashi