]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-tv: hdmi needs I2C support
authorArnd Bergmann <arnd@arndb.de>
Thu, 29 Jan 2015 16:13:08 +0000 (13:13 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Mar 2015 11:59:14 +0000 (08:59 -0300)
commitadcb6dfb6de0699bfc3ba7cc90b9f67cac282dac
tree2f847a7b83cec2cffcfe3b4f50e0cf054181eae3
parent136f6627410814c8d9806ba977cd8164d1a96f4a
[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>
drivers/media/platform/s5p-tv/Kconfig