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)
commit400399043e5d0d88b57c0277b8c62739ec71a6c1
tree6abd8daceccf3934e4b20e9899527a7350f8ab4a
parent6c3912d69b23e33e8f8b9479cd7bf5331345615d
drm: msm: add missing dependencies on OF and COMMON_CLK

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