mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 06:02:05 +00:00
drivers: dio: Use <linux/io.h> instead <asm/io.h>
This patch fixes the checkpatch.pl warning: < WARNING: Use #include <linux/io.h> instead of <asm/io.h> < #36: FILE: drivers/dio/dio.c:36: < +#include <asm/io.h> /* readb() */ Signed-off-by: Aleksa Vučković <aleksav013@gmail.com> Link: https://lore.kernel.org/r/20220127135054.27281-1-aleksav013@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f396ededbd
commit
10f4629f85
@ -33,7 +33,7 @@
|
||||
#include <linux/dio.h>
|
||||
#include <linux/slab.h> /* kmalloc() */
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/io.h> /* readb() */
|
||||
#include <linux/io.h> /* readb() */
|
||||
|
||||
struct dio_bus dio_bus = {
|
||||
.resources = {
|
||||
|
Loading…
Reference in New Issue
Block a user