Skip to content

Commit 786baec

Browse files
author
Mauro Carvalho Chehab
committed
[media] dvb-usb: move it to drivers/media/usb/dvb-usb
As media/dvb will be removed, move it to a proper place. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent 616300b commit 786baec

136 files changed

Lines changed: 29 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/dvb/README.dvb-usb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ with the device via the bus. The connection between the DVB-API-functionality
3030
is done via callbacks, assigned in a static device-description (struct
3131
dvb_usb_device) each device-driver has to have.
3232

33-
For an example have a look in drivers/media/dvb/dvb-usb/vp7045*.
33+
For an example have a look in drivers/media/usb/dvb-usb/vp7045*.
3434

3535
Objective is to migrate all the usb-devices (dibusb, cinergyT2, maybe the
3636
ttusb; flexcop-usb already benefits from the generic flexcop-device) to use

‎drivers/media/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ source "drivers/media/radio/Kconfig"
163163

164164
source "drivers/media/dvb-core/Kconfig"
165165
source "drivers/media/dvb/Kconfig"
166+
source "drivers/media/usb/Kconfig"
166167

167168
comment "Supported FireWire (IEEE 1394) Adapters"
168169
depends on DVB_CORE && FIREWIRE

‎drivers/media/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ endif
1111
obj-y += v4l2-core/ common/ rc/ video/
1212

1313
obj-$(CONFIG_VIDEO_DEV) += radio/
14-
obj-$(CONFIG_DVB_CORE) += dvb-core/ dvb/ dvb-frontends/
14+
obj-$(CONFIG_DVB_CORE) += dvb-core/ dvb/ dvb-frontends/ usb/
1515
obj-$(CONFIG_DVB_FIREDTV) += firewire/

‎drivers/media/dvb/Kconfig‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ comment "Supported SAA7146 based PCI Adapters"
1515
depends on DVB_CORE && PCI && I2C
1616
source "drivers/media/dvb/ttpci/Kconfig"
1717

18-
comment "Supported USB Adapters"
19-
depends on DVB_CORE && USB && I2C
20-
source "drivers/media/dvb/dvb-usb/Kconfig"
21-
source "drivers/media/dvb/dvb-usb-v2/Kconfig"
22-
source "drivers/media/dvb/ttusb-budget/Kconfig"
23-
source "drivers/media/dvb/ttusb-dec/Kconfig"
24-
source "drivers/media/dvb/siano/Kconfig"
25-
2618
comment "Supported FlexCopII (B2C2) Adapters"
2719
depends on DVB_CORE && (PCI || USB) && I2C
2820
source "drivers/media/dvb/b2c2/Kconfig"

‎drivers/media/dvb/Makefile‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33
#
44

55
obj-y := ttpci/ \
6-
ttusb-dec/ \
7-
ttusb-budget/ \
86
b2c2/ \
97
bt8xx/ \
10-
dvb-usb/ \
11-
dvb-usb-v2/ \
128
pluto2/ \
13-
siano/ \
149
dm1105/ \
1510
pt1/ \
1611
mantis/ \

‎drivers/media/usb/Kconfig‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# USB media device configuration
3+
#
4+
5+
menuconfig MEDIA_USB_DRIVERS
6+
bool "Supported DVB USB Adapters"
7+
depends on USB
8+
default y
9+
10+
if MEDIA_USB_DRIVERS && DVB_CORE && I2C
11+
12+
source "drivers/media/usb/dvb-usb/Kconfig"
13+
source "drivers/media/usb/dvb-usb-v2/Kconfig"
14+
source "drivers/media/usb/ttusb-budget/Kconfig"
15+
source "drivers/media/usb/ttusb-dec/Kconfig"
16+
source "drivers/media/usb/siano/Kconfig"
17+
18+
endif

‎drivers/media/usb/Makefile‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#
2+
# Makefile for the USB media device drivers
3+
#
4+
5+
# DVB USB-only drivers
6+
obj-y := ttusb-dec/ ttusb-budget/ dvb-usb/ dvb-usb-v2/ siano/

0 commit comments

Comments
 (0)