aboutsummaryrefslogtreecommitdiff
path: root/drivers/w1/masters
diff options
context:
space:
mode:
authorGravatar Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 2023-04-15 12:42:58 +0200
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-04-20 14:15:07 +0200
commit01bc199b42594e31e5c4fe335f4feb40f976db1f (patch)
tree393e835feb84e64904fbed1eac501da4df36e124 /drivers/w1/masters
parentw1: ds2482: do not use assignment in if condition (diff)
downloadlinux-01bc199b42594e31e5c4fe335f4feb40f976db1f.tar.gz
linux-01bc199b42594e31e5c4fe335f4feb40f976db1f.tar.bz2
linux-01bc199b42594e31e5c4fe335f4feb40f976db1f.zip
w1: matrox: switch from asm to linux header
linux/io.h is preferred over asm/io.h: WARNING: Use #include <linux/io.h> instead of <asm/io.h> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230415104304.104134-10-krzysztof.kozlowski@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1/masters')
-rw-r--r--drivers/w1/masters/matrox_w1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/masters/matrox_w1.c b/drivers/w1/masters/matrox_w1.c
index 94a1f3fa2dc3..662108b1d806 100644
--- a/drivers/w1/masters/matrox_w1.c
+++ b/drivers/w1/masters/matrox_w1.c
@@ -7,7 +7,7 @@
#include <asm/types.h>
#include <linux/atomic.h>
-#include <asm/io.h>
+#include <linux/io.h>
#include <linux/delay.h>
#include <linux/kernel.h>