[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220127135054.27281-1-aleksav013@gmail.com>
Date: Thu, 27 Jan 2022 14:50:48 +0100
From: Aleksa Vučković <aleksav013@...il.com>
To: gregkh@...uxfoundation.org
Cc: salah.triki@...il.com, linux-kernel@...r.kernel.org,
Aleksa Vučković <aleksav013@...il.com>
Subject: [PATCH 1/7] 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@...il.com>
---
drivers/dio/dio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dio/dio.c b/drivers/dio/dio.c
index 4c06c93c93d3..831f36ab6e2b 100644
--- a/drivers/dio/dio.c
+++ b/drivers/dio/dio.c
@@ -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 = {
--
2.35.0
Powered by blists - more mailing lists