diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-08-25 07:28:04 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-08-25 07:28:04 +0000 |
commit | 19afa52270f83cc373ae4ecdef92c74dcb01f38c (patch) | |
tree | 1d5a7559736f61d5dda219518c17bb090fe18f95 /target/linux/adm5120/files-2.6.26/drivers | |
parent | e2ed54aba7ef3a4553f96b44a900b5dbfde8b96e (diff) |
[adm5120] minor cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12387 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/files-2.6.26/drivers')
-rw-r--r-- | target/linux/adm5120/files-2.6.26/drivers/net/adm5120sw.c | 6 | ||||
-rw-r--r-- | target/linux/adm5120/files-2.6.26/drivers/watchdog/adm5120_wdt.c | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/target/linux/adm5120/files-2.6.26/drivers/net/adm5120sw.c b/target/linux/adm5120/files-2.6.26/drivers/net/adm5120sw.c index ff95ac009f..7acc84d248 100644 --- a/target/linux/adm5120/files-2.6.26/drivers/net/adm5120sw.c +++ b/target/linux/adm5120/files-2.6.26/drivers/net/adm5120sw.c @@ -24,19 +24,17 @@ #include <linux/ioport.h> #include <linux/spinlock.h> #include <linux/platform_device.h> +#include <linux/io.h> +#include <linux/irq.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/skbuff.h> -#include <linux/io.h> -#include <linux/irq.h> - #include <asm/mipsregs.h> #include <asm/mach-adm5120/adm5120_info.h> #include <asm/mach-adm5120/adm5120_defs.h> -#include <asm/mach-adm5120/adm5120_irq.h> #include <asm/mach-adm5120/adm5120_switch.h> #include "adm5120sw.h" diff --git a/target/linux/adm5120/files-2.6.26/drivers/watchdog/adm5120_wdt.c b/target/linux/adm5120/files-2.6.26/drivers/watchdog/adm5120_wdt.c index 125a41f137..e92a898431 100644 --- a/target/linux/adm5120/files-2.6.26/drivers/watchdog/adm5120_wdt.c +++ b/target/linux/adm5120/files-2.6.26/drivers/watchdog/adm5120_wdt.c @@ -12,21 +12,19 @@ * 2 of the License, or (at your option) any later version. * */ - #include <linux/module.h> #include <linux/types.h> #include <linux/fs.h> #include <linux/miscdevice.h> #include <linux/watchdog.h> +#include <linux/irq.h> #include <asm/bootinfo.h> #include <asm/mach-adm5120/adm5120_info.h> #include <asm/mach-adm5120/adm5120_defs.h> -#include <asm/mach-adm5120/adm5120_irq.h> #include <asm/mach-adm5120/adm5120_switch.h> - #define DEFAULT_TIMEOUT 15 /* (secs) Default is 15 seconds */ #define MAX_TIMEOUT 327 /* Max is 327 seconds, counter is 15-bit integer, step is 10 ms */ |