]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: synaptics-tddi: fix build error by missing regulator/consumer.h include
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 30 Oct 2025 08:28:28 +0000 (09:28 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 30 Oct 2025 15:12:54 +0000 (16:12 +0100)
Fix up for "backlight: Do not include <linux/fb.h> in header file"
interacting with [1] from the drm-misc tree.

[1] commit 3eae82503f4f ("drm: panel: add support for Synaptics TDDI series DSI panels")

Fixes: 3eae82503f4f ("drm: panel: add support for Synaptics TDDI series DSI panels")
Closes: https://lore.kernel.org/all/20251030151428.3c1f11ea@canb.auug.org.au/
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251030-topic-drm-fix-panel-synaptics-tddi-v1-1-206519d246e8@linaro.org
drivers/gpu/drm/panel/panel-synaptics-tddi.c

index a4b3cbdebb6ca4062c02c6e7ac184f3ec245926a..0aea1854710ed48cd5866bed21c47e6c46153357 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/gpio/consumer.h>
 #include <linux/module.h>
 #include <linux/of.h>
+#include <linux/regulator/consumer.h>
 
 #include <video/mipi_display.h>