]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm: msm: add missing dependencies on OF and COMMON_CLK
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 13:48:09 +0000 (14:48 +0100)
committerDave Airlie <airlied@gmail.com>
Sat, 31 Jan 2015 00:13:01 +0000 (10:13 +1000)
The msm gpu drivers depend on both the DT mechanism and the
common clk handling code, if they are not enabled, we get
a number of build errors:

In file included from drivers/gpu/drm/msm/hdmi/hdmi.h:27:0,
                 from drivers/gpu/drm/msm/hdmi/hdmi_bridge.c:18:
drivers/gpu/drm/msm/msm_drv.h:45:24: fatal error: mach/board.h: No such file or directory
 #include <mach/board.h>
                        ^

drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c:503:2: error: implicit declaration of function 'devm_clk_register' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/msm/Kconfig

index 5b2a1ff95d3de2ab1341dfa3fe6df3e0986e747e..bacbbb70f679a45d1cbe70ec631c19d0be807e4f 100644 (file)
@@ -3,6 +3,7 @@ config DRM_MSM
        tristate "MSM DRM"
        depends on DRM
        depends on ARCH_QCOM || (ARM && COMPILE_TEST)
+       depends on OF && COMMON_CLK
        select REGULATOR
        select DRM_KMS_HELPER
        select DRM_PANEL