summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/armada
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-03-30 09:30:43 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2023-04-21 10:19:39 +0200
commit1c9da7db8899fa0e891997118d75b46d38102497 (patch)
tree35643e2333cc95af20a25d82321e2560f63906f8 /drivers/gpu/drm/armada
parent34c1aeb579ddd36392e18e2fc354db441556811e (diff)
downloadlwn-1c9da7db8899fa0e891997118d75b46d38102497.tar.gz
lwn-1c9da7db8899fa0e891997118d75b46d38102497.zip
drm/armada: Include <linux/of.h>
Include <linux/of.h> to get declarations of of_node_put() and of_device_is_available(). No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn> Link: https://patchwork.freedesktop.org/patch/msgid/20230330073046.7150-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/armada')
-rw-r--r--drivers/gpu/drm/armada/armada_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/armada/armada_drv.c b/drivers/gpu/drm/armada/armada_drv.c
index c99ec7078301..d8b8e80503d7 100644
--- a/drivers/gpu/drm/armada/armada_drv.c
+++ b/drivers/gpu/drm/armada/armada_drv.c
@@ -6,6 +6,7 @@
#include <linux/clk.h>
#include <linux/component.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>