diff options
author | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-27 14:50:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-04 16:45:39 +0100 |
commit | 10f4629f85f1caae6583dc69159740ab26fdf78c (patch) | |
tree | 6cec3a52f641fa5044678ff7becdb276274b920f /drivers/dio/dio.c | |
parent | misc: open-dice: Add driver to expose DICE data to userspace (diff) | |
download | linux-10f4629f85f1caae6583dc69159740ab26fdf78c.tar.xz linux-10f4629f85f1caae6583dc69159740ab26fdf78c.zip |
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>
Diffstat (limited to 'drivers/dio/dio.c')
-rw-r--r-- | drivers/dio/dio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |