[media] ttpci: Fix a missing Kconfig dependency

Fix a Kconfig warning that appears with allmodconfig on arm:

	warning: (DVB_USB_PCTV452E) selects TTPCI_EEPROM which has unmet direct dependencies (MEDIA_SUPPORT && MEDIA_PCI_SUPPORT && MEDIA_DIGITAL_TV_SUPPORT && I2C)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab 2012-12-27 14:43:41 -02:00
parent 68c97bf39a
commit 5d92bbe634
2 changed files with 6 additions and 5 deletions

View file

@ -135,6 +135,12 @@ 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
default n
source "drivers/media/dvb-core/Kconfig"
comment "Media drivers"

View file

@ -1,8 +1,3 @@
config TTPCI_EEPROM
tristate
depends on I2C
default n
config DVB_AV7110
tristate "AV7110 cards"
depends on DVB_CORE && PCI && I2C