diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-03-24 15:53:23 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-04-14 11:29:04 +0300 |
commit | 3bb112016616ca01f6ee06ee2bf77d8eec4afeb1 (patch) | |
tree | 352c3c674037916533f32ea695e98194a101d13c /drivers | |
parent | a41034df538968e726c6aad3e5d8b99799d2d0cd (diff) | |
download | linux-3bb112016616ca01f6ee06ee2bf77d8eec4afeb1.tar.xz |
media: Kconfig: move drivers-specific TTPCI_EEPROM Kconfig var
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/Kconfig | 5 | ||||
-rw-r--r-- | drivers/media/usb/Kconfig | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index b35c980dcf56..f37c0c26fa65 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig @@ -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" diff --git a/drivers/media/usb/Kconfig b/drivers/media/usb/Kconfig index e678d3d11467..bf08393e38d1 100644 --- a/drivers/media/usb/Kconfig +++ b/drivers/media/usb/Kconfig @@ -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 |