]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/drm_of: Move drm_of_panel_bridge_remove_function into header.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 13 Oct 2017 14:08:53 +0000 (16:08 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 13 Oct 2017 14:59:36 +0000 (16:59 +0200)
commit512721a14a2a94b48ca0863d48f9829922a816b8
treeee2335f66ba6a08fe7f3570295075f612161f91f
parent277b09cfa377c31a8efebca465f096d4eea91ae4
drm/drm_of: Move drm_of_panel_bridge_remove_function into header.

Core drm shouldn't depend on anything in drm-kms-helper, or the drm
module will fail to load.

insmod drm fails with
[ 6087.674390] drm: Unknown symbol drm_panel_bridge_remove (err 0)

which is defined in drm_kms_helper.ko

This call was added by commit c70087e8f16f ("drm/drm_of: add
drm_of_panel_bridge_remove function"), and the fix is defining it in the
drm_of.h header, to break the circular dependency.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8f95e623-9480-97dc-2414-77086d8aa49d@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@intel.com> #irc
Fixes: c70087e8f16f ("drm/drm_of: add drm_of_panel_bridge_remove function")
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
drivers/gpu/drm/drm_of.c
include/drm/drm_of.h