drm/mediatek: add ARM_SMCCC dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 10 Aug 2016 21:54:11 +0000 (23:54 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 11 Aug 2016 06:42:01 +0000 (08:42 +0200)
commit306d674a2ddd565adde7d9d6703157105c8444a6
tree52066864ce197d3c418632c490588ea203bc7f0b
parentb5db361eb7746cc9ada51554a6b996170c439f0b
drm/mediatek: add ARM_SMCCC dependency

ARM SMCCC is only set for ARMv7 and ARMv8 CPUs, but we currently
allow the driver to be build for older architecture levels as
well, which results in a link failure:

drivers/gpu/built-in.o: In function `mtk_hdmi_hw_make_reg_writable':
:(.text+0x1e737c): undefined reference to `arm_smccc_smc'

This adds a Kconfig dependency. The patch applies on my two
previous fixes that are not yet applied, so please apply all
three to get randconfig builds to work correctly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 8f83f26891e1 ("drm/mediatek: Add HDMI support")
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/mediatek/Kconfig