summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_drv.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-03-25 21:06:46 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2024-04-02 10:40:43 +0200
commit8463b66b41add540ef99f5950f42fa10d1a01023 (patch)
treecd90ba4559539c87f085d62c8dc047fcdca03118 /drivers/gpu/drm/ast/ast_drv.c
parent0d21364c6e8dc1f62c34bbc49d49935c8b01844c (diff)
downloadlwn-8463b66b41add540ef99f5950f42fa10d1a01023.tar.gz
lwn-8463b66b41add540ef99f5950f42fa10d1a01023.zip
drm/ast: Include <linux/of.h> where necessary
Include <linux/of.h> to get of_property_read_u32() in the source files that need it. Avoids the proxy include via <linux/i2c.h>. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Sui Jingfeng <sui.jingfeng@linux.dev> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240325200855.21150-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_drv.c')
-rw-r--r--drivers/gpu/drm/ast/ast_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c
index 90bcb1eb9cd9..f8c49ba68e78 100644
--- a/drivers/gpu/drm/ast/ast_drv.c
+++ b/drivers/gpu/drm/ast/ast_drv.c
@@ -27,6 +27,7 @@
*/
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/pci.h>
#include <drm/drm_aperture.h>