OSDN Git Service

ipu-v3: Include <linux/io.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 12 May 2023 10:24:40 +0000 (12:24 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 18 May 2023 09:06:18 +0000 (11:06 +0200)
The code uses readl() and writel(). Include the header file to
get the declarations.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512102444.5438-4-tzimmermann@suse.de
drivers/gpu/ipu-v3/ipu-prv.h

index 291ac1b..d4621b1 100644 (file)
@@ -8,6 +8,7 @@
 
 struct ipu_soc;
 
+#include <linux/io.h>
 #include <linux/types.h>
 #include <linux/device.h>
 #include <linux/clk.h>