]> Git Repo - J-linux.git/commitdiff
drm/msm/dp: fix missing #include
authorArnd Bergmann <[email protected]>
Tue, 26 Oct 2021 08:32:41 +0000 (10:32 +0200)
committerRob Clark <[email protected]>
Tue, 26 Oct 2021 16:31:24 +0000 (09:31 -0700)
Some randconfig builds fail when drm/drm_bridge.h is not included
implicitly in this file:

drivers/gpu/drm/msm/dp/dp_parser.c:279:25: error: implicit declaration of function 'devm_drm_panel_bridge_add' [-Werror,-Wimplicit-function-declaration]
        parser->panel_bridge = devm_drm_panel_bridge_add(dev, panel);

Fixes: 4b296d15b355 ("drm/msm/dp: Allow attaching a drm_panel")
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Clark <[email protected]>
drivers/gpu/drm/msm/dp/dp_parser.c

index 81dbcc86d08a790326172d187d4946a2f64bf0e2..a7acc23f742b4cd0356a6f74b62030d91b6d19c4 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <drm/drm_of.h>
 #include <drm/drm_print.h>
+#include <drm/drm_bridge.h>
 
 #include "dp_parser.h"
 #include "dp_reg.h"
This page took 0.054037 seconds and 4 git commands to generate.