media: Kconfig: move drivers-specific TTPCI_EEPROM Kconfig var
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 24 Mar 2020 12:53:23 +0000 (13:53 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 08:29:04 +0000 (10:29 +0200)
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>
drivers/media/Kconfig
drivers/media/usb/Kconfig

index b35c980..f37c0c2 100644 (file)
@@ -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"
index e678d3d..bf08393 100644 (file)
@@ -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