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
This commit is contained in:
Thomas Zimmermann 2024-03-25 21:06:46 +01:00
parent 0d21364c6e
commit 8463b66b41
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@
*/
#include <linux/module.h>
#include <linux/of.h>
#include <linux/pci.h>
#include <drm/drm_aperture.h>

View File

@ -26,6 +26,7 @@
* Authors: Dave Airlie <airlied@redhat.com>
*/
#include <linux/of.h>
#include <linux/pci.h>
#include <drm/drm_atomic_helper.h>