drm/msm/dp: fix missing #include
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 Oct 2021 08:32:41 +0000 (10:32 +0200)
committerRob Clark <robdclark@chromium.org>
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 <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211026083254.3396322-1-arnd@kernel.org
Signed-off-by: Rob Clark <robdclark@chromium.org>
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"