Commit a527cfc1 authored by Gerd Knorr's avatar Gerd Knorr Committed by Linus Torvalds

[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).
parent be974925
...@@ -5,16 +5,6 @@ ...@@ -5,16 +5,6 @@
menu "Video For Linux" menu "Video For Linux"
depends on VIDEO_DEV!=n 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" comment "Video Adapters"
config VIDEO_BT848 config VIDEO_BT848
......
...@@ -130,6 +130,9 @@ static void rvfree(void *mem, unsigned long size) ...@@ -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) #if defined(CONFIG_PROC_FS) && defined(CONFIG_VIDEO_PROC_FS)
static struct proc_dir_entry *se401_proc_entry = NULL; static struct proc_dir_entry *se401_proc_entry = NULL;
......
...@@ -519,6 +519,9 @@ static int stv_init (struct usb_stv *stv680) ...@@ -519,6 +519,9 @@ static int stv_init (struct usb_stv *stv680)
* /proc interface * /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) #if defined(CONFIG_PROC_FS) && defined(CONFIG_VIDEO_PROC_FS)
static struct proc_dir_entry *stv680_proc_entry = NULL; static struct proc_dir_entry *stv680_proc_entry = NULL;
......
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
static int video_nr = -1; static int video_nr = -1;
MODULE_PARM(video_nr, "i"); MODULE_PARM(video_nr, "i");
#warning please convert me from procfs to sysfs
#define USES_PROC_FS 0
/* /*
* Local prototypes. * Local prototypes.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment