]> git.baikalelectronics.ru Git - kernel.git/commit
omapdrm: fix the dependency to omapdss
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 7 Feb 2013 14:35:52 +0000 (16:35 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 14 Feb 2013 11:08:29 +0000 (13:08 +0200)
commitaf990d2b12e9348015f35319b7a64adb22243e34
treecf9926561219fdcc29260e92cef8cc39df25c7e1
parent8e07637a78adf3100ec3ff097cbca6a41e88f02b
omapdrm: fix the dependency to omapdss

omapdrm uses "select" in Kconfig to enable omapdss. This doesn't work
correctly, as "select" forces omapdss to be enabled in the config even
if it normally could not be enabled because of missing Kconfig
dependencies.

This causes a build break on ARM, when using allyesconfig:

drivers/video/omap2/dss/dss.c: In function 'dss_calc_clock_div':
drivers/video/omap2/dss/dss.c:572:20: error: 'CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK' undeclared (first use in this function)
drivers/video/omap2/dss/dss.c:572:20: note: each undeclared identifier is reported only once for each function it appears in

Instead of using select, this patch changes omapdrm to use "depend
on".

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/staging/omapdrm/Kconfig