Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev: Include <linux/io.h> in various drivers

The code uses writel() and similar I/O-memory helpers. 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-5-tzimmermann@suse.de

+5
+1
drivers/video/fbdev/arcfb.c
··· 41 41 #include <linux/vmalloc.h> 42 42 #include <linux/delay.h> 43 43 #include <linux/interrupt.h> 44 + #include <linux/io.h> 44 45 #include <linux/fb.h> 45 46 #include <linux/init.h> 46 47 #include <linux/arcfb.h>
+2
drivers/video/fbdev/aty/atyfb.h
··· 3 3 * ATI Frame Buffer Device Driver Core Definitions 4 4 */ 5 5 6 + #include <linux/io.h> 6 7 #include <linux/spinlock.h> 7 8 #include <linux/wait.h> 9 + 8 10 /* 9 11 * Elements of the hardware specific atyfb_par structure 10 12 */
+2
drivers/video/fbdev/wmt_ge_rops.c
··· 9 9 10 10 #include <linux/module.h> 11 11 #include <linux/fb.h> 12 + #include <linux/io.h> 12 13 #include <linux/platform_device.h> 14 + 13 15 #include "core/fb_draw.h" 14 16 #include "wmt_ge_rops.h" 15 17