diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-10 09:05:58 +0000 |
commit | 3b68214e570417f35093426576bddfd7425dac1c (patch) | |
tree | 8247160ac24e2b5585503bcc8cf79f226b0e62f2 /target/linux/atheros/patches-3.10/130-watchdog.patch | |
parent | d5ce5c199b62e4a990ff4b2ae6a9c2c67afca3c3 (diff) | |
download | master-187ad058-3b68214e570417f35093426576bddfd7425dac1c.tar.gz master-187ad058-3b68214e570417f35093426576bddfd7425dac1c.tar.bz2 master-187ad058-3b68214e570417f35093426576bddfd7425dac1c.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41089 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-3.10/130-watchdog.patch')
-rw-r--r-- | target/linux/atheros/patches-3.10/130-watchdog.patch | 7 |
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> |