aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10/130-watchdog.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-10 09:05:58 +0000
commit66c64834f84c8b498cf55e1d1fc2b0fb14fefdab (patch)
tree50131d0934e256d4880d8890183ae7a7a0860ea0 /target/linux/atheros/patches-3.10/130-watchdog.patch
parent90ca9a582dcbdc6dd4f8f7f6ab015c0fe99ce1e8 (diff)
downloadupstream-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.tar.gz
upstream-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.tar.bz2
upstream-66c64834f84c8b498cf55e1d1fc2b0fb14fefdab.zip
atheros: fix includes
Remove some unnecessary includes and use <linux/foo.h> instead of <asm/foo.h> when it possible as suggested by checkpatch. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41089
Diffstat (limited to 'target/linux/atheros/patches-3.10/130-watchdog.patch')
-rw-r--r--target/linux/atheros/patches-3.10/130-watchdog.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/target/linux/atheros/patches-3.10/130-watchdog.patch b/target/linux/atheros/patches-3.10/130-watchdog.patch
index 7cc8fee9cb..07c82e5f72 100644
--- a/target/linux/atheros/patches-3.10/130-watchdog.patch
+++ b/target/linux/atheros/patches-3.10/130-watchdog.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/drivers/watchdog/ar2315-wtd.c
-@@ -0,0 +1,200 @@
+@@ -0,0 +1,199 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
@@ -32,10 +32,9 @@
+#include <linux/reboot.h>
+#include <linux/init.h>
+#include <linux/platform_device.h>
++#include <linux/io.h>
++#include <linux/uaccess.h>
+
-+#include <asm/io.h>
-+#include <asm/uaccess.h>
-+#include <asm/addrspace.h>
+#include <ar231x_platform.h>
+#include <ar2315_regs.h>
+#include <ar231x.h>