drm/ast: Include <linux/of.h> where necessary
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 25 Mar 2024 20:06:46 +0000 (21:06 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 2 Apr 2024 08:40:43 +0000 (10:40 +0200)
commit8463b66b41add540ef99f5950f42fa10d1a01023
treecd90ba4559539c87f085d62c8dc047fcdca03118
parent0d21364c6e8dc1f62c34bbc49d49935c8b01844c
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
drivers/gpu/drm/ast/ast_drv.c
drivers/gpu/drm/ast/ast_main.c