projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
162fba2
)
drm/panel: Include <linux/of.h>
author
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 11 Oct 2024 14:41:20 +0000
(16:41 +0200)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 13 Dec 2024 14:21:02 +0000
(15:21 +0100)
Include <linux/of.h> directly to get of_device_is_available(). Avoids
the proxy include via <linux/backlight.h>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Jessica Zhang <quic_jesszhan@quicinc.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20241011144632.90434-3-tzimmermann@suse.de
drivers/gpu/drm/drm_panel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/drm_panel.c
b/drivers/gpu/drm/drm_panel.c
index 19ab0a794add31f34275d53dfab0a7c0050476e3..2379e501c08bb0737df636e189839b8062661e03 100644
(file)
--- a/
drivers/gpu/drm/drm_panel.c
+++ b/
drivers/gpu/drm/drm_panel.c
@@
-24,6
+24,7
@@
#include <linux/backlight.h>
#include <linux/err.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <drm/drm_crtc.h>
#include <drm/drm_panel.h>