Commit e1d534ac authored by Thomas Zimmermann's avatar Thomas Zimmermann

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: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarSui Jingfeng <suijingfeng@loongson.cn>
Link: https://patchwork.freedesktop.org/patch/msgid/20230512102444.5438-5-tzimmermann@suse.de
parent 30745abe
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/fb.h> #include <linux/fb.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/arcfb.h> #include <linux/arcfb.h>
......
...@@ -3,8 +3,10 @@ ...@@ -3,8 +3,10 @@
* ATI Frame Buffer Device Driver Core Definitions * ATI Frame Buffer Device Driver Core Definitions
*/ */
#include <linux/io.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/wait.h> #include <linux/wait.h>
/* /*
* Elements of the hardware specific atyfb_par structure * Elements of the hardware specific atyfb_par structure
*/ */
......
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/fb.h> #include <linux/fb.h>
#include <linux/io.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include "core/fb_draw.h" #include "core/fb_draw.h"
#include "wmt_ge_rops.h" #include "wmt_ge_rops.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment