aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_atomic.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2019-12-19 10:37:03 +0000
committerDave Airlie <[email protected]>2020-01-09 00:40:58 +0000
commit528d06d41b80a4acb2a9efd33bfc87495147f75e (patch)
tree905e2d75f03453d09b75d792a9a474217ec70255 /drivers/gpu/drm/drm_atomic.c
parentMerge tag 'drm-misc-next-2020-01-02' of git://anongit.freedesktop.org/drm/drm... (diff)
downloadkernel-528d06d41b80a4acb2a9efd33bfc87495147f75e.tar.gz
kernel-528d06d41b80a4acb2a9efd33bfc87495147f75e.zip
drm: of: Fix linking when CONFIG_OF is not set
The new helper drm_of_lvds_get_dual_link_pixel_order() introduced in commit 6529007522de has a fallback stub when CONFIG_OF is not set, but the stub is declared in drm_of.h without a static inline. This causes multiple definitions of the function to be linked when the CONFIG_OF option isn't set. Fix it by making the stub static inline. Fixes: 6529007522de ("drm: of: Add drm_of_lvds_get_dual_link_pixel_order") Reported-by: kbuild test robot <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Fabrizio Castro <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
0 files changed, 0 insertions, 0 deletions