drm/rockchip: rgb: add stub functions when rgb encoder is disabled
authorHeiko Stuebner <heiko@sntech.de>
Wed, 5 Sep 2018 19:13:02 +0000 (21:13 +0200)
committerSean Paul <seanpaul@chromium.org>
Wed, 5 Sep 2018 19:43:14 +0000 (15:43 -0400)
commit3ee22b769fd761c98eeaceab49153c3eb7612821
tree8a166c256c056cf84385e4214a859d263546e6ea
parent0ca33adb91c0a94a29bdcecf49cd08fe24a21666
drm/rockchip: rgb: add stub functions when rgb encoder is disabled

The newly added internal rgb encoder for Rockchip vops is missing
stubs for the case that the rgb output part is not enabled in the
kernel config. So add these.

Fixes: 1f0f01515172 (drm/rockchip: Add support for Rockchip Soc RGB output interface)
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
[seanpaul fixed up checkpatch nits]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180905191302.26023-1-heiko@sntech.de
drivers/gpu/drm/rockchip/rockchip_rgb.h