diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-02-12 16:02:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:11:02 -0500 |
commit | 536004403d35b707bbac43d629586ee9c944084f (patch) | |
tree | 18ecb02b5f7029b44f9972ca76d05222dadae574 /drivers/media/radio | |
parent | 08cf8a57c51da7db9633c2827b3dbabfb7df51fd (diff) |
V4L/DVB: radio_timberdale: depends on I2c
RADIO_TIMBERDALE selects RADIO_SAA7706H, but RADIO_SAA7706H
depends on I2C, so make RADIO_TIMBERDALE depend on I2C also;
otherwise there are build errors:
drivers/media/radio/saa7706h.c:139: error: implicit declaration of function 'i2c_master_send'
drivers/media/radio/saa7706h.c:148: error: implicit declaration of function 'i2c_transfer'
drivers/media/radio/saa7706h.c:372: error: implicit declaration of function 'i2c_check_functionality'
drivers/media/radio/saa7706h.c:375: error: implicit declaration of function 'i2c_adapter_id'
drivers/media/radio/saa7706h.c:438: error: implicit declaration of function 'i2c_add_driver'
drivers/media/radio/saa7706h.c:443: error: implicit declaration of function 'i2c_del_driver'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mocean Laboratories <info@mocean-labs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig index 7a1b2d219592..83567b898d09 100644 --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio/Kconfig | |||
@@ -444,6 +444,7 @@ config RADIO_TEF6862 | |||
444 | config RADIO_TIMBERDALE | 444 | config RADIO_TIMBERDALE |
445 | tristate "Enable the Timberdale radio driver" | 445 | tristate "Enable the Timberdale radio driver" |
446 | depends on MFD_TIMBERDALE && VIDEO_V4L2 | 446 | depends on MFD_TIMBERDALE && VIDEO_V4L2 |
447 | depends on I2C # for RADIO_SAA7706H | ||
447 | select RADIO_TEF6862 | 448 | select RADIO_TEF6862 |
448 | select RADIO_SAA7706H | 449 | select RADIO_SAA7706H |
449 | ---help--- | 450 | ---help--- |