Skip to content

Commit

Permalink
[media] ttpci: Fix a missing Kconfig dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Dec 27, 2012
1 parent 68c97bf commit 5d92bbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 0 additions & 5 deletions drivers/media/pci/ttpci/Kconfig
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5d92bbe

Please sign in to comment.