[media] usbvideo: deprecate the vicam driver
Hans Verkuil [Sat, 25 Dec 2010 10:27:47 +0000 (07:27 -0300)]
Move usbvideo to staging and mark it deprecated.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

drivers/media/video/Kconfig
drivers/media/video/Makefile
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/usbvideo/Kconfig [moved from drivers/media/video/usbvideo/Kconfig with 59% similarity]
drivers/staging/usbvideo/Makefile [moved from drivers/media/video/usbvideo/Makefile with 100% similarity]
drivers/staging/usbvideo/usbvideo.c [moved from drivers/media/video/usbvideo/usbvideo.c with 100% similarity]
drivers/staging/usbvideo/usbvideo.h [moved from drivers/media/video/usbvideo/usbvideo.h with 100% similarity]
drivers/staging/usbvideo/vicam.c [moved from drivers/media/video/usbvideo/vicam.c with 100% similarity]

index 4b751ef..3655b30 100644 (file)
@@ -915,8 +915,6 @@ source "drivers/media/video/cx231xx/Kconfig"
 
 source "drivers/media/video/usbvision/Kconfig"
 
-source "drivers/media/video/usbvideo/Kconfig"
-
 source "drivers/media/video/et61x251/Kconfig"
 
 config USB_SE401
index ace7b6e..2f2e3ac 100644 (file)
@@ -133,10 +133,6 @@ obj-$(CONFIG_USB_GSPCA)         += gspca/
 
 obj-$(CONFIG_VIDEO_HDPVR)      += hdpvr/
 
-obj-$(CONFIG_USB_IBMCAM)        += usbvideo/
-obj-$(CONFIG_USB_KONICAWC)      += usbvideo/
-obj-$(CONFIG_USB_VICAM)         += usbvideo/
-obj-$(CONFIG_USB_QUICKCAM_MESSENGER)   += usbvideo/
 obj-$(CONFIG_USB_S2255)                += s2255drv.o
 
 obj-$(CONFIG_VIDEO_IVTV) += ivtv/
index 5eafdf4..a402a56 100644 (file)
@@ -55,6 +55,8 @@ source "drivers/staging/cpia/Kconfig"
 
 source "drivers/staging/stradis/Kconfig"
 
+source "drivers/staging/usbvideo/Kconfig"
+
 source "drivers/staging/usbip/Kconfig"
 
 source "drivers/staging/winbond/Kconfig"
index a97a955..d4eb714 100644 (file)
@@ -10,6 +10,7 @@ obj-$(CONFIG_VIDEO_CX25821)   += cx25821/
 obj-$(CONFIG_VIDEO_TM6000)     += tm6000/
 obj-$(CONFIG_VIDEO_CPIA)       += cpia/
 obj-$(CONFIG_VIDEO_STRADIS)    += stradis/
+obj-$(CONFIG_USB_VICAM)         += usbvideo/
 obj-$(CONFIG_LIRC_STAGING)     += lirc/
 obj-$(CONFIG_USB_IP_COMMON)    += usbip/
 obj-$(CONFIG_W35UND)           += winbond/
similarity index 59%
rename from drivers/media/video/usbvideo/Kconfig
rename to drivers/staging/usbvideo/Kconfig
index 357860d..aae863e 100644 (file)
@@ -2,11 +2,14 @@ config VIDEO_USBVIDEO
        tristate
 
 config USB_VICAM
-       tristate "USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)"
+       tristate "USB 3com HomeConnect (aka vicam) support (DEPRECATED)"
        depends on VIDEO_V4L1 && EXPERIMENTAL
        select VIDEO_USBVIDEO
        ---help---
          Say Y here if you have 3com homeconnect camera (vicam).
 
+         This driver uses the deprecated V4L1 API and will be removed in
+         2.6.39, unless someone converts it to the V4L2 API.
+
          To compile this driver as a module, choose M here: the
          module will be called vicam.