From a527cfc1b9351c390a213428345c8afb2857e1c6 Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Wed, 20 Aug 2003 19:53:10 -0700 Subject: [PATCH] [PATCH] v4l: remove stale CONFIG_VIDEO_PROC_FS * makes the three USB drivers not use the procfs stuff, also added a warning that they should converted to sysfs. * Removes the leftover, obsolete VIDEO_PROC_FS config option, that should catch any other build failures too (if any). --- drivers/media/video/Kconfig | 10 ---------- drivers/usb/media/se401.c | 3 +++ drivers/usb/media/stv680.c | 3 +++ drivers/usb/media/usbvideo.c | 2 ++ 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 50e706e6a0e81..f8ec5b51bcfb0 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig @@ -5,16 +5,6 @@ menu "Video For Linux" depends on VIDEO_DEV!=n -config VIDEO_PROC_FS - bool "V4L information in proc filesystem" - depends on PROC_FS - help - If you say Y here, you are able to access video device information - in /proc/video. - - To use this option, you have to check, that the "/proc file system - support" (CONFIG_PROC_FS) is enabled too. - comment "Video Adapters" config VIDEO_BT848 diff --git a/drivers/usb/media/se401.c b/drivers/usb/media/se401.c index 8e9928c78e424..9be1d6e76a75c 100644 --- a/drivers/usb/media/se401.c +++ b/drivers/usb/media/se401.c @@ -130,6 +130,9 @@ static void rvfree(void *mem, unsigned long size) * ***************************************************************************/ +#warning please convert me from procfs to sysfs +#undef CONFIG_VIDEO_PROC_FS + #if defined(CONFIG_PROC_FS) && defined(CONFIG_VIDEO_PROC_FS) static struct proc_dir_entry *se401_proc_entry = NULL; diff --git a/drivers/usb/media/stv680.c b/drivers/usb/media/stv680.c index 563bbcfd27bbe..b1d44efb72bb0 100644 --- a/drivers/usb/media/stv680.c +++ b/drivers/usb/media/stv680.c @@ -519,6 +519,9 @@ exit: * /proc interface *******************************************************************/ +#warning please convert me from procfs to sysfs +#undef CONFIG_VIDEO_PROC_FS + #if defined(CONFIG_PROC_FS) && defined(CONFIG_VIDEO_PROC_FS) static struct proc_dir_entry *stv680_proc_entry = NULL; diff --git a/drivers/usb/media/usbvideo.c b/drivers/usb/media/usbvideo.c index 9f85a9a8cdc09..a0745a30e4998 100644 --- a/drivers/usb/media/usbvideo.c +++ b/drivers/usb/media/usbvideo.c @@ -37,6 +37,8 @@ static int video_nr = -1; MODULE_PARM(video_nr, "i"); +#warning please convert me from procfs to sysfs +#define USES_PROC_FS 0 /* * Local prototypes. */ -- 2.53.0