Skip to content
Snippets Groups Projects
Commit afece15a authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Rob Clark
Browse files

drm: msm: fix building without CONFIG_COMMON_CLK


When CONFIG_COMMON_CLOCK is disabled, the 8996 specific
phy code is left out, which results in a link failure:

ld: drivers/gpu/drm/msm/hdmi/hdmi_phy.o:(.rodata+0x3f0): undefined reference to `msm_hdmi_phy_8996_cfg'

This was only exposed after it became possible to build
test the driver without the clock interfaces.

Make COMMON_CLK a hard dependency for compile testing,
and simplify it a little based on that.

Fixes: b3ed524f ("drm/msm: allow compile_test on !ARM")
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Suggested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20211013144308.2248978-1-arnd@kernel.org


Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent e4840d53
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment