2002-04-10 09:50:43

by Udo A. Steinberg

[permalink] [raw]
Subject: bttv-driver broken in 2.5.8-pre


Hi,

The bttv driver in 2.5.8-pre doesn't compile:

bttv-driver.c:2650: `video_generic_ioctl' undeclared here (not in a function)
bttv-driver.c:2650: initializer element is not constant
bttv-driver.c:2650: (near initialization for `bttv_fops.ioctl')
bttv-driver.c:2664: unknown field `kernel_ioctl' specified in initializer
bttv-driver.c:2771: `video_generic_ioctl' undeclared here (not in a function)
bttv-driver.c:2771: initializer element is not constant
bttv-driver.c:2771: (near initialization for `radio_fops.ioctl')
bttv-driver.c:2781: unknown field `kernel_ioctl' specified in initializer

Gerd's latest patch v4l2-01-v4l2-api-2.5.8-pre2.diff doesn't fix it either.

-Udo.


2002-04-10 10:32:05

by Stelian Pop

[permalink] [raw]
Subject: Re: bttv-driver broken in 2.5.8-pre

On Wed, Apr 10, 2002 at 11:50:40AM +0200, Udo A. Steinberg wrote:

> The bttv driver in 2.5.8-pre doesn't compile:
[...]

> Gerd's latest patch v4l2-01-v4l2-api-2.5.8-pre2.diff doesn't fix it either.

You need the other patches in the same directory, especially this one:
http://bytesex.org/patches/2.5/fix-video-01-video-drivers-2.5.8-pre2.diff

Stelian.
--
Stelian Pop <[email protected]>
Alcove - http://www.alcove.com

2002-04-10 11:35:17

by Gerd Knorr

[permalink] [raw]
Subject: Re: bttv-driver broken in 2.5.8-pre

> bttv-driver.c:2781: unknown field `kernel_ioctl' specified in initializer
>
> Gerd's latest patch v4l2-01-v4l2-api-2.5.8-pre2.diff doesn't fix it either.

Better try the patches named "fix-*" instead ...

Gerd

--
#include </dev/tty>