aboutsummaryrefslogtreecommitdiffstats
path: root/patches.zynq/0064-char-xilinx_hwicap-Checkpatch.pl-cleanup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches.zynq/0064-char-xilinx_hwicap-Checkpatch.pl-cleanup.patch')
-rw-r--r--patches.zynq/0064-char-xilinx_hwicap-Checkpatch.pl-cleanup.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches.zynq/0064-char-xilinx_hwicap-Checkpatch.pl-cleanup.patch b/patches.zynq/0064-char-xilinx_hwicap-Checkpatch.pl-cleanup.patch
new file mode 100644
index 00000000000000..340aecff2e3898
--- /dev/null
+++ b/patches.zynq/0064-char-xilinx_hwicap-Checkpatch.pl-cleanup.patch
@@ -0,0 +1,33 @@
+From 52e527233de5b99f0b08bd5d926cfc5c2c924c1a Mon Sep 17 00:00:00 2001
+From: Michal Simek <michal.simek@xilinx.com>
+Date: Thu, 23 May 2013 14:52:33 +0200
+Subject: char: xilinx_hwicap: Checkpatch.pl cleanup
+
+Remove checkpatch warning:
+WARNING: Use #include <linux/io.h> instead of <asm/io.h>
+
+Signed-off-by: Michal Simek <michal.simek@xilinx.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+(cherry picked from commit 1dd24daef9c5a4b51f4981a9c65a36a32b2ea98a)
+Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
+Signed-off-by: Yoshitake Kobayashi <yoshitake.kobayashi@toshiba.co.jp>
+---
+ drivers/char/xilinx_hwicap/xilinx_hwicap.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/char/xilinx_hwicap/xilinx_hwicap.h b/drivers/char/xilinx_hwicap/xilinx_hwicap.h
+index d31ee23c9f13..96677fc7ea4d 100644
+--- a/drivers/char/xilinx_hwicap/xilinx_hwicap.h
++++ b/drivers/char/xilinx_hwicap/xilinx_hwicap.h
+@@ -37,7 +37,7 @@
+ #include <linux/cdev.h>
+ #include <linux/platform_device.h>
+
+-#include <asm/io.h>
++#include <linux/io.h>
+
+ struct hwicap_drvdata {
+ u32 write_buffer_in_use; /* Always in [0,3] */
+--
+1.8.5.rc3
+