On Tue, Jun 11, 2002 at 02:10:50PM -0700, Christopher Hoover wrote: > # This is a BitKeeper generated patch for the following project: > # Project Name: greg k-h's linux 2.5 USB kernel tree > # This patch format is intended for GNU patch command version 2.5 or higher. > # This patch includes the following deltas: > # ChangeSet 1.611 -> 1.612 > # drivers/media/video/videodev.c 1.7 -> 1.8 > # > # The following is the BitKeeper ChangeSet Log > # -------------------------------------------- > # 02/06/11 [EMAIL PROTECTED] 1.612 > # videodev_proc_destory is needed when built-in to kernel too > # -------------------------------------------- > # > diff -Nru a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c > --- a/drivers/media/video/videodev.c Tue Jun 11 14:10:50 2002 > +++ b/drivers/media/video/videodev.c Tue Jun 11 14:10:50 2002 > @@ -288,7 +288,6 @@ > video_dev_proc_entry->owner = THIS_MODULE; > } > > -#ifdef MODULE > #if defined(CONFIG_PROC_FS) && defined(CONFIG_VIDEO_PROC_FS) > static void videodev_proc_destroy(void) > { > @@ -298,7 +297,6 @@ > if (video_proc_entry != NULL) > remove_proc_entry("video", &proc_root); > } > -#endif > #endif > > static void videodev_proc_create_dev (struct video_device *vfd, char *name)
I just hit this myself trying to test the se401 driver. I think this isn't quite right. The MODULE tests should go, but the PROC_FS && VIDEO_PROC_FS tests should be moved up to catch videodev_proc_create(). -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ _______________________________________________________________ Multimillion Dollar Computer Inventory Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel