drm/rockchip: Fix link error when CONFIG_DRM_ANALOGIX_DP undefined
authorSean Paul <seanpaul@chromium.org>
Mon, 6 Mar 2017 20:02:26 +0000 (15:02 -0500)
committerSean Paul <seanpaul@chromium.org>
Mon, 6 Mar 2017 23:18:03 +0000 (18:18 -0500)
commit6cca3869c598e87fccbb506a1310aa5bca29ac84
tree03cecb9574b672af6951b363e0514dc77d3e07f3
parent47f6cdd2cb0bed3d8337626d45efc9301337bf1d
drm/rockchip: Fix link error when CONFIG_DRM_ANALOGIX_DP undefined

Fixes the following link error when CONFIG_DRM_ANALOGIX_DP is not defined:

ERROR: "analogix_dp_start_crc" [drivers/gpu/drm/rockchip/rockchipdrm.ko] undefined!
ERROR: "analogix_dp_stop_crc" [drivers/gpu/drm/rockchip/rockchipdrm.ko] undefined!

Fixes: 3190e58dafaf ("drm/rockchip: Implement CRC debugfs API")
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Mark Yao <mark.yao@rock-chips.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-rockchip@lists.infradead.org
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c