Commit 10f4629f authored by Aleksa Vučković's avatar Aleksa Vučković Committed by Greg Kroah-Hartman

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: default avatarAleksa Vučković <aleksav013@gmail.com>
Link: https://lore.kernel.org/r/20220127135054.27281-1-aleksav013@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f396eded
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <linux/dio.h> #include <linux/dio.h>
#include <linux/slab.h> /* kmalloc() */ #include <linux/slab.h> /* kmalloc() */
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <asm/io.h> /* readb() */ #include <linux/io.h> /* readb() */
struct dio_bus dio_bus = { struct dio_bus dio_bus = {
.resources = { .resources = {
......
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