Skip to content

Commit

Permalink
media: Kconfig: move drivers-specific TTPCI_EEPROM Kconfig var
Browse files Browse the repository at this point in the history
This option is used only by av7110 and by an USB driver. As
the av7110 is the first DVB hardware, hardly found those
days, let's opt to place it at usb/Kconfig, as the driver
with needs it might have a longer lifetime.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
mchehab committed Apr 14, 2020
1 parent a41034d commit 3bb1120
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ config DVB_NET
You may want to disable the network support on embedded devices. If
unsure say Y.

# This Kconfig option is used by both PCI and USB drivers
config TTPCI_EEPROM
tristate
depends on I2C

source "drivers/media/dvb-core/Kconfig"

comment "Media drivers"
Expand Down
6 changes: 6 additions & 0 deletions drivers/media/usb/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-only

# This Kconfig option is also used by the legacy av7110 driver
config TTPCI_EEPROM
tristate
depends on I2C

if USB && MEDIA_SUPPORT

menuconfig MEDIA_USB_SUPPORT
Expand Down

0 comments on commit 3bb1120

Please sign in to comment.