diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-29 11:13:08 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-03-04 06:59:14 -0500 |
commit | 3987c98461e3886031a563679cf22e73ba900b5a (patch) | |
tree | 2f847a7b83cec2cffcfe3b4f50e0cf054181eae3 /drivers/media | |
parent | cb0c3f5f1b888fa0283c2581c91bb10728ac1b22 (diff) |
[media] s5p-tv: hdmi needs I2C support
Building the s5p-tv HDMI support when CONFIG_I2C is disabled
gives us this build error:
s5p-tv/hdmi_drv.c: In function 'hdmi_probe':
s5p-tv/hdmi_drv.c:947:2: error: implicit declaration of function 'i2c_get_adapter' [-Werror=implicit-function-declaration]
adapter = i2c_get_adapter(pdata->hdmiphy_bus);
^
This patch changes the Kconfig description to include I2C
as a dependency for this driver, so it cannot be configured
incorrectly.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/s5p-tv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/s5p-tv/Kconfig b/drivers/media/platform/s5p-tv/Kconfig index 5a1835dd65e8..697aaed42486 100644 --- a/drivers/media/platform/s5p-tv/Kconfig +++ b/drivers/media/platform/s5p-tv/Kconfig | |||
@@ -20,6 +20,7 @@ if VIDEO_SAMSUNG_S5P_TV | |||
20 | config VIDEO_SAMSUNG_S5P_HDMI | 20 | config VIDEO_SAMSUNG_S5P_HDMI |
21 | tristate "Samsung HDMI Driver" | 21 | tristate "Samsung HDMI Driver" |
22 | depends on VIDEO_V4L2 | 22 | depends on VIDEO_V4L2 |
23 | depends on I2C | ||
23 | depends on VIDEO_SAMSUNG_S5P_TV | 24 | depends on VIDEO_SAMSUNG_S5P_TV |
24 | select VIDEO_SAMSUNG_S5P_HDMIPHY | 25 | select VIDEO_SAMSUNG_S5P_HDMIPHY |
25 | help | 26 | help |