diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-20 14:52:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-21 07:38:31 -0400 |
commit | 01b0c11a1ba49ac96f58b7bc92772c2b469d6caa (patch) | |
tree | 27bb335596bd7b019034ce9d05885a2e0389ff68 | |
parent | 090836dd81f0d447dab3a48df91595c2d5a0968f (diff) |
[media] Kconfig: Fix b2c2 common code selection
As reported by Randy:
> flexcop-pci.c:(.text+0x19af63): undefined reference to `flexcop_device_exit'
> flexcop-pci.c:(.text+0x19af77): undefined reference to `flexcop_device_kfree'
> flexcop-pci.c:(.text+0x19b10f): undefined reference to `flexcop_pass_dmx_packets'
> flexcop-pci.c:(.text+0x19b182): undefined reference to `flexcop_pass_dmx_data'
> flexcop-pci.c:(.text+0x19b1ae): undefined reference to `flexcop_pass_dmx_data'
> flexcop-pci.c:(.text+0x19b1f8): undefined reference to `flexcop_device_kmalloc'
> flexcop-pci.c:(.text+0x19b256): undefined reference to `flexcop_i2c_request'
> flexcop-pci.c:(.text+0x19b261): undefined reference to `flexcop_eeprom_check_mac_addr'
> flexcop-pci.c:(.text+0x19b2c6): undefined reference to `flexcop_device_initialize'
> flexcop-pci.c:(.text+0x19b332): undefined reference to `flexcop_sram_set_dest'
> flexcop-pci.c:(.text+0x19b348): undefined reference to `flexcop_sram_set_dest'
> flexcop-pci.c:(.text+0x19b3f8): undefined reference to `flexcop_device_exit'
> flexcop-pci.c:(.text+0x19b408): undefined reference to `flexcop_device_kfree'
> flexcop-pci.c:(.text+0x19b4a2): undefined reference to `flexcop_pid_feed_control'
> flexcop-pci.c:(.text+0x19b4d7): undefined reference to `flexcop_pid_feed_control'
>
> since it is possible to enable DVB_B2C2_FLEXCOP_PCI
> when CONFIG_I2C is not enabled, but then DVB_B2C2_FLEXCOP
> is not enabled because I2C is not enabled.
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/pci/b2c2/Kconfig | 1 | ||||
-rw-r--r-- | drivers/media/usb/b2c2/Kconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/pci/b2c2/Kconfig b/drivers/media/pci/b2c2/Kconfig index 78ced474aa8d..58761a21caa0 100644 --- a/drivers/media/pci/b2c2/Kconfig +++ b/drivers/media/pci/b2c2/Kconfig | |||
@@ -1,5 +1,6 @@ | |||
1 | config DVB_B2C2_FLEXCOP_PCI | 1 | config DVB_B2C2_FLEXCOP_PCI |
2 | tristate "Technisat/B2C2 Air/Sky/Cable2PC PCI" | 2 | tristate "Technisat/B2C2 Air/Sky/Cable2PC PCI" |
3 | depends on DVB_CORE && I2C | ||
3 | help | 4 | help |
4 | Support for the Air/Sky/CableStar2 PCI card (DVB/ATSC) by Technisat/B2C2. | 5 | Support for the Air/Sky/CableStar2 PCI card (DVB/ATSC) by Technisat/B2C2. |
5 | 6 | ||
diff --git a/drivers/media/usb/b2c2/Kconfig b/drivers/media/usb/b2c2/Kconfig index ba16583c5e13..17d35833980c 100644 --- a/drivers/media/usb/b2c2/Kconfig +++ b/drivers/media/usb/b2c2/Kconfig | |||
@@ -1,5 +1,6 @@ | |||
1 | config DVB_B2C2_FLEXCOP_USB | 1 | config DVB_B2C2_FLEXCOP_USB |
2 | tristate "Technisat/B2C2 Air/Sky/Cable2PC USB" | 2 | tristate "Technisat/B2C2 Air/Sky/Cable2PC USB" |
3 | depends on DVB_CORE && I2C | ||
3 | help | 4 | help |
4 | Support for the Air/Sky/Cable2PC USB1.1 box (DVB/ATSC) by Technisat/B2C2, | 5 | Support for the Air/Sky/Cable2PC USB1.1 box (DVB/ATSC) by Technisat/B2C2, |
5 | 6 | ||