Commit 0c0d06ca authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] rename most media/video usb drivers to media/usb

Rename all USB drivers with their own directory under
drivers/media/video into drivers/media/usb and update the
building system.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 84cfe9e7
...@@ -3119,49 +3119,49 @@ M: Frank Zago <frank@zago.net> ...@@ -3119,49 +3119,49 @@ M: Frank Zago <frank@zago.net>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: drivers/media/video/gspca/finepix.c F: drivers/media/usb/gspca/finepix.c
GSPCA GL860 SUBDRIVER GSPCA GL860 SUBDRIVER
M: Olivier Lorin <o.lorin@laposte.net> M: Olivier Lorin <o.lorin@laposte.net>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: drivers/media/video/gspca/gl860/ F: drivers/media/usb/gspca/gl860/
GSPCA M5602 SUBDRIVER GSPCA M5602 SUBDRIVER
M: Erik Andren <erik.andren@gmail.com> M: Erik Andren <erik.andren@gmail.com>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: drivers/media/video/gspca/m5602/ F: drivers/media/usb/gspca/m5602/
GSPCA PAC207 SONIXB SUBDRIVER GSPCA PAC207 SONIXB SUBDRIVER
M: Hans de Goede <hdegoede@redhat.com> M: Hans de Goede <hdegoede@redhat.com>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: drivers/media/video/gspca/pac207.c F: drivers/media/usb/gspca/pac207.c
GSPCA SN9C20X SUBDRIVER GSPCA SN9C20X SUBDRIVER
M: Brian Johnson <brijohn@gmail.com> M: Brian Johnson <brijohn@gmail.com>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: drivers/media/video/gspca/sn9c20x.c F: drivers/media/usb/gspca/sn9c20x.c
GSPCA T613 SUBDRIVER GSPCA T613 SUBDRIVER
M: Leandro Costantino <lcostantino@gmail.com> M: Leandro Costantino <lcostantino@gmail.com>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: drivers/media/video/gspca/t613.c F: drivers/media/usb/gspca/t613.c
GSPCA USB WEBCAM DRIVER GSPCA USB WEBCAM DRIVER
M: Hans de Goede <hdegoede@redhat.com> M: Hans de Goede <hdegoede@redhat.com>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: drivers/media/video/gspca/ F: drivers/media/usb/gspca/
HARD DRIVE ACTIVE PROTECTION SYSTEM (HDAPS) DRIVER HARD DRIVE ACTIVE PROTECTION SYSTEM (HDAPS) DRIVER
M: Frank Seidel <frank@f-seidel.de> M: Frank Seidel <frank@f-seidel.de>
...@@ -5525,7 +5525,7 @@ W: http://www.isely.net/pvrusb2/ ...@@ -5525,7 +5525,7 @@ W: http://www.isely.net/pvrusb2/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
S: Maintained S: Maintained
F: Documentation/video4linux/README.pvrusb2 F: Documentation/video4linux/README.pvrusb2
F: drivers/media/video/pvrusb2/ F: drivers/media/usb/pvrusb2/
PWM SUBSYSTEM PWM SUBSYSTEM
M: Thierry Reding <thierry.reding@avionic-design.de> M: Thierry Reding <thierry.reding@avionic-design.de>
...@@ -5956,7 +5956,7 @@ M: Huang Shijie <shijie8@gmail.com> ...@@ -5956,7 +5956,7 @@ M: Huang Shijie <shijie8@gmail.com>
M: Kang Yong <kangyong@telegent.com> M: Kang Yong <kangyong@telegent.com>
M: Zhang Xiaobing <xbzhang@telegent.com> M: Zhang Xiaobing <xbzhang@telegent.com>
S: Supported S: Supported
F: drivers/media/video/tlg2300 F: drivers/media/usb/tlg2300
SC1200 WDT DRIVER SC1200 WDT DRIVER
M: Zwane Mwaikambo <zwane@arm.linux.org.uk> M: Zwane Mwaikambo <zwane@arm.linux.org.uk>
...@@ -7297,7 +7297,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git ...@@ -7297,7 +7297,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
W: http://www.linux-projects.org W: http://www.linux-projects.org
S: Maintained S: Maintained
F: Documentation/video4linux/sn9c102.txt F: Documentation/video4linux/sn9c102.txt
F: drivers/media/video/sn9c102/ F: drivers/media/usb/sn9c102/
USB SUBSYSTEM USB SUBSYSTEM
M: Greg Kroah-Hartman <gregkh@linuxfoundation.org> M: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
...@@ -7332,7 +7332,7 @@ L: linux-media@vger.kernel.org ...@@ -7332,7 +7332,7 @@ L: linux-media@vger.kernel.org
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media.git
W: http://www.ideasonboard.org/uvc/ W: http://www.ideasonboard.org/uvc/
S: Maintained S: Maintained
F: drivers/media/video/uvc/ F: drivers/media/usb/uvc/
USB W996[87]CF DRIVER USB W996[87]CF DRIVER
M: Luca Risolia <luca.risolia@studio.unibo.it> M: Luca Risolia <luca.risolia@studio.unibo.it>
......
...@@ -2,18 +2,49 @@ ...@@ -2,18 +2,49 @@
# USB media device configuration # USB media device configuration
# #
menuconfig MEDIA_USB_DRIVERS menu "Media USB Adapters"
bool "Supported DVB USB Adapters" visible if USB && MEDIA_SUPPORT
depends on USB
default y
if MEDIA_USB_DRIVERS && DVB_CORE && I2C if MEDIA_CAMERA_SUPPORT
comment "Webcam devices"
source "drivers/media/usb/uvc/Kconfig"
source "drivers/media/usb/gspca/Kconfig"
source "drivers/media/usb/pwc/Kconfig"
source "drivers/media/usb/cpia2/Kconfig"
source "drivers/media/usb/sn9c102/Kconfig"
endif
if MEDIA_ANALOG_TV_SUPPORT
comment "Analog TV USB devices"
source "drivers/media/usb/au0828/Kconfig"
source "drivers/media/usb/pvrusb2/Kconfig"
source "drivers/media/usb/hdpvr/Kconfig"
source "drivers/media/usb/tlg2300/Kconfig"
source "drivers/media/usb/usbvision/Kconfig"
source "drivers/media/usb/stk1160/Kconfig"
endif
if (MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT)
comment "Analog/digital TV USB devices"
source "drivers/media/usb/cx231xx/Kconfig"
source "drivers/media/usb/tm6000/Kconfig"
endif
if I2C && MEDIA_DIGITAL_TV_SUPPORT
comment "Digital TV USB devices"
source "drivers/media/usb/dvb-usb/Kconfig" source "drivers/media/usb/dvb-usb/Kconfig"
source "drivers/media/usb/dvb-usb-v2/Kconfig" source "drivers/media/usb/dvb-usb-v2/Kconfig"
source "drivers/media/usb/ttusb-budget/Kconfig" source "drivers/media/usb/ttusb-budget/Kconfig"
source "drivers/media/usb/ttusb-dec/Kconfig" source "drivers/media/usb/ttusb-dec/Kconfig"
source "drivers/media/usb/siano/Kconfig" source "drivers/media/usb/siano/Kconfig"
source "drivers/media/usb/b2c2/Kconfig" source "drivers/media/usb/b2c2/Kconfig"
endif
if (MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT)
comment "Webcam, TV (analog/digital) USB devices"
source "drivers/media/usb/em28xx/Kconfig"
endif endif
endmenu
...@@ -4,3 +4,17 @@ ...@@ -4,3 +4,17 @@
# DVB USB-only drivers # DVB USB-only drivers
obj-y := ttusb-dec/ ttusb-budget/ dvb-usb/ dvb-usb-v2/ siano/ b2c2/ obj-y := ttusb-dec/ ttusb-budget/ dvb-usb/ dvb-usb-v2/ siano/ b2c2/
obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
obj-$(CONFIG_USB_GSPCA) += gspca/
obj-$(CONFIG_USB_PWC) += pwc/
obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
obj-$(CONFIG_USB_SN9C102) += sn9c102/
obj-$(CONFIG_VIDEO_AU0828) += au0828/
obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/
obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/
obj-$(CONFIG_VIDEO_TLG2300) += tlg2300/
obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
obj-$(CONFIG_VIDEO_STK1160) += stk1160/
obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
obj-$(CONFIG_VIDEO_TM6000) += tm6000/
obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
...@@ -17,9 +17,9 @@ menuconfig USB_GSPCA ...@@ -17,9 +17,9 @@ menuconfig USB_GSPCA
if USB_GSPCA && VIDEO_V4L2 if USB_GSPCA && VIDEO_V4L2
source "drivers/media/video/gspca/m5602/Kconfig" source "drivers/media/usb/gspca/m5602/Kconfig"
source "drivers/media/video/gspca/stv06xx/Kconfig" source "drivers/media/usb/gspca/stv06xx/Kconfig"
source "drivers/media/video/gspca/gl860/Kconfig" source "drivers/media/usb/gspca/gl860/Kconfig"
config USB_GSPCA_BENQ config USB_GSPCA_BENQ
tristate "Benq USB Camera Driver" tristate "Benq USB Camera Driver"
......
...@@ -6,5 +6,5 @@ gspca_gl860-objs := gl860.o \ ...@@ -6,5 +6,5 @@ gspca_gl860-objs := gl860.o \
gl860-ov9655.o \ gl860-ov9655.o \
gl860-mi2020.o gl860-mi2020.o
ccflags-y += -I$(srctree)/drivers/media/video/gspca ccflags-y += -I$(srctree)/drivers/media/usb/gspca
...@@ -8,4 +8,4 @@ gspca_m5602-objs := m5602_core.o \ ...@@ -8,4 +8,4 @@ gspca_m5602-objs := m5602_core.o \
m5602_s5k83a.o \ m5602_s5k83a.o \
m5602_s5k4aa.o m5602_s5k4aa.o
ccflags-y += -I$(srctree)/drivers/media/video/gspca ccflags-y += -I$(srctree)/drivers/media/usb/gspca
...@@ -6,5 +6,5 @@ gspca_stv06xx-objs := stv06xx.o \ ...@@ -6,5 +6,5 @@ gspca_stv06xx-objs := stv06xx.o \
stv06xx_pb0100.o \ stv06xx_pb0100.o \
stv06xx_st6422.o stv06xx_st6422.o
ccflags-y += -I$(srctree)/drivers/media/video/gspca ccflags-y += -I$(srctree)/drivers/media/usb/gspca
...@@ -616,16 +616,6 @@ menuconfig V4L_USB_DRIVERS ...@@ -616,16 +616,6 @@ menuconfig V4L_USB_DRIVERS
if V4L_USB_DRIVERS && MEDIA_CAMERA_SUPPORT if V4L_USB_DRIVERS && MEDIA_CAMERA_SUPPORT
comment "Webcam devices"
source "drivers/media/video/uvc/Kconfig"
source "drivers/media/video/gspca/Kconfig"
source "drivers/media/video/pwc/Kconfig"
source "drivers/media/video/cpia2/Kconfig"
config USB_ZR364XX config USB_ZR364XX
tristate "USB ZR364XX Camera support" tristate "USB ZR364XX Camera support"
depends on VIDEO_V4L2 depends on VIDEO_V4L2
...@@ -662,40 +652,9 @@ config USB_S2255 ...@@ -662,40 +652,9 @@ config USB_S2255
Say Y here if you want support for the Sensoray 2255 USB device. Say Y here if you want support for the Sensoray 2255 USB device.
This driver can be compiled as a module, called s2255drv. This driver can be compiled as a module, called s2255drv.
source "drivers/media/video/sn9c102/Kconfig"
endif # V4L_USB_DRIVERS && MEDIA_CAMERA_SUPPORT endif # V4L_USB_DRIVERS && MEDIA_CAMERA_SUPPORT
if V4L_USB_DRIVERS
comment "Webcam and/or TV USB devices"
source "drivers/media/video/em28xx/Kconfig"
endif
if V4L_USB_DRIVERS && MEDIA_ANALOG_TV_SUPPORT
comment "TV USB devices"
source "drivers/media/video/au0828/Kconfig"
source "drivers/media/video/pvrusb2/Kconfig"
source "drivers/media/video/hdpvr/Kconfig"
source "drivers/media/video/tlg2300/Kconfig"
source "drivers/media/video/cx231xx/Kconfig"
source "drivers/media/video/tm6000/Kconfig"
source "drivers/media/video/usbvision/Kconfig"
source "drivers/media/video/stk1160/Kconfig"
endif # V4L_USB_DRIVERS
# #
# PCI drivers configuration - No devices here are for webcams # PCI drivers configuration - No devices here are for webcams
# #
......
...@@ -99,20 +99,12 @@ obj-$(CONFIG_VIDEO_VINO) += vino.o ...@@ -99,20 +99,12 @@ obj-$(CONFIG_VIDEO_VINO) += vino.o
obj-$(CONFIG_VIDEO_MEYE) += meye.o obj-$(CONFIG_VIDEO_MEYE) += meye.o
obj-$(CONFIG_VIDEO_SAA7134) += saa7134/ obj-$(CONFIG_VIDEO_SAA7134) += saa7134/
obj-$(CONFIG_VIDEO_CX88) += cx88/ obj-$(CONFIG_VIDEO_CX88) += cx88/
obj-$(CONFIG_VIDEO_EM28XX) += em28xx/
obj-$(CONFIG_VIDEO_TLG2300) += tlg2300/
obj-$(CONFIG_VIDEO_CX231XX) += cx231xx/
obj-$(CONFIG_VIDEO_CX25821) += cx25821/ obj-$(CONFIG_VIDEO_CX25821) += cx25821/
obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
obj-$(CONFIG_VIDEO_PVRUSB2) += pvrusb2/
obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
obj-$(CONFIG_VIDEO_TM6000) += tm6000/
obj-$(CONFIG_VIDEO_MXB) += mxb.o obj-$(CONFIG_VIDEO_MXB) += mxb.o
obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o obj-$(CONFIG_VIDEO_HEXIUM_ORION) += hexium_orion.o
obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o obj-$(CONFIG_VIDEO_HEXIUM_GEMINI) += hexium_gemini.o
obj-$(CONFIG_STA2X11_VIP) += sta2x11_vip.o obj-$(CONFIG_STA2X11_VIP) += sta2x11_vip.o
obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o obj-$(CONFIG_VIDEO_TIMBERDALE) += timblogiw.o
obj-$(CONFIG_VIDEO_STK1160) += stk1160/
obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o obj-$(CONFIG_VIDEO_BTCX) += btcx-risc.o
...@@ -130,11 +122,6 @@ obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/ ...@@ -130,11 +122,6 @@ obj-$(CONFIG_VIDEO_OMAP3) += omap3isp/
obj-$(CONFIG_USB_ZR364XX) += zr364xx.o obj-$(CONFIG_USB_ZR364XX) += zr364xx.o
obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o obj-$(CONFIG_USB_STKWEBCAM) += stkwebcam.o
obj-$(CONFIG_USB_SN9C102) += sn9c102/
obj-$(CONFIG_USB_PWC) += pwc/
obj-$(CONFIG_USB_GSPCA) += gspca/
obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/
obj-$(CONFIG_USB_S2255) += s2255drv.o obj-$(CONFIG_USB_S2255) += s2255drv.o
...@@ -179,9 +166,6 @@ obj-$(CONFIG_ARCH_DAVINCI) += davinci/ ...@@ -179,9 +166,6 @@ obj-$(CONFIG_ARCH_DAVINCI) += davinci/
obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o obj-$(CONFIG_VIDEO_SH_VOU) += sh_vou.o
obj-$(CONFIG_VIDEO_AU0828) += au0828/
obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
obj-$(CONFIG_VIDEO_SAA7164) += saa7164/ obj-$(CONFIG_VIDEO_SAA7164) += saa7164/
obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
......
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