Re: Kconfig for sn9c102 driver bugged

Mauro Carvalho Chehab <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.comp.video.video4linux
Message-ID <1174221178.4252.2.camel@localhost>
Em Dom, 2007-03-18 às 09:40 +0100, Bram Stolk escreveu: 
> Hi,
> 
> The Kconfig for the sn9c102 driver is wrong.
> This driver is a V4L2 driver, but the Kconfig
> lists V4L1 as a dependency.
> 
> Please fix the file
> drivers/media/video/sn9c102/Kconfig
> 
> The 3rd line should read:
>          depends on USB && VIDEO_V4L2
> 
> This bug has been in the kernel source now, for
> many months. It is time it gets fixed.
> 

If you disable V4L1 support (and V4L1_COMPAT), the driver won't work,
since it uses two obsolete functions:

  CC [M]  /home/v4l/master/v4l/sn9c102_ov7630.o
/home/v4l/master/v4l/sn9c102_core.c: In function 'sn9c102_create_sysfs':
/home/v4l/master/v4l/sn9c102_core.c:1381: warning: implicit declaration of function 'video_device_create_file'
/home/v4l/master/v4l/sn9c102_core.c:1414: warning: implicit declaration of function 'video_device_remove_file'

$ sudo depmod -ae -F /boot/System.map
WARNING: /lib/modules/2.6.20/kernel/drivers/media/video/sn9c102/sn9c102.ko needs unknown symbol video_device_create_file
WARNING: /lib/modules/2.6.20/kernel/drivers/media/video/sn9c102/sn9c102.ko needs unknown symbol video_device_remove_file

> 
>    Bram
> 
> --
> video4linux-list mailing list
> Unsubscribe mailto:[email protected]?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
-- 
Cheers,
Mauro


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.