mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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
This commit is contained in:
parent
30745abe9b
commit
e1d534ac5b
@ -41,6 +41,7 @@
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/fb.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/arcfb.h>
|
||||
|
@ -3,8 +3,10 @@
|
||||
* ATI Frame Buffer Device Driver Core Definitions
|
||||
*/
|
||||
|
||||
#include <linux/io.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/wait.h>
|
||||
|
||||
/*
|
||||
* Elements of the hardware specific atyfb_par structure
|
||||
*/
|
||||
|
@ -9,7 +9,9 @@
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/fb.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
||||
#include "core/fb_draw.h"
|
||||
#include "wmt_ge_rops.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user