drm: make of_drm_find_panel also depend on CONFIG_DRM_PANEL
authorRob Herring <robh@kernel.org>
Wed, 22 Mar 2017 13:26:04 +0000 (08:26 -0500)
committerSean Paul <seanpaul@chromium.org>
Thu, 6 Apr 2017 21:00:27 +0000 (17:00 -0400)
commitb61c8d5d9a27715dd31781910aef12be4882ebfd
tree7a010055ccb93a50cc05c597f039b4cacc7b98df
parentce09d7667dd225564df1e20b8185d4ce7be886cc
drm: make of_drm_find_panel also depend on CONFIG_DRM_PANEL

For drm_of_find_panel_or_bridge() added in the next commit, an empty
version of of_drm_find_panel is needed for !CONFIG_DRM_PANEL.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
include/drm/drm_panel.h