aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/files/drivers/char
diff options
context:
space:
mode:
authorMatteo Croce <matteo@openwrt.org>2007-09-12 16:15:12 +0000
committerMatteo Croce <matteo@openwrt.org>2007-09-12 16:15:12 +0000
commit8a62330b65daaeb24c1a367c3df8028d2acfb9ab (patch)
tree269ea5a9268983f33fe3481739b9e960e5420520 /target/linux/ar7/files/drivers/char
parent044c76f1197f08bebcc1558e9361dd370c4afd94 (diff)
downloadmaster-187ad058-8a62330b65daaeb24c1a367c3df8028d2acfb9ab.tar.gz
master-187ad058-8a62330b65daaeb24c1a367c3df8028d2acfb9ab.tar.bz2
master-187ad058-8a62330b65daaeb24c1a367c3df8028d2acfb9ab.zip
Enabled working ar7_wdt, style cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8764 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/files/drivers/char')
-rw-r--r--target/linux/ar7/files/drivers/char/ar7_gpio.c8
-rw-r--r--target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c10
2 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/ar7/files/drivers/char/ar7_gpio.c b/target/linux/ar7/files/drivers/char/ar7_gpio.c
index c0ee897e22..d3cd7d96cc 100644
--- a/target/linux/ar7/files/drivers/char/ar7_gpio.c
+++ b/target/linux/ar7/files/drivers/char/ar7_gpio.c
@@ -1,18 +1,18 @@
/*
* linux/drivers/char/ar7_gpio.c
- *
+ *
* Copyright (C) 2007 OpenWrt.org
- *
+ *
* 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
diff --git a/target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c b/target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c
index 889306188c..2acbd941d5 100644
--- a/target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c
+++ b/target/linux/ar7/files/drivers/char/watchdog/ar7_wdt.c
@@ -1,6 +1,6 @@
/*
* linux/drivers/char/ar7_wdt.c
- *
+ *
* Copyright (C) 2007 OpenWrt.org
* Copyright (c) 2005 Enrik Berkhan <Enrik.Berkhan@akk.org>
*
@@ -12,12 +12,12 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -55,8 +55,8 @@ static int nowayout = WATCHDOG_NOWAYOUT;
module_param(nowayout, int, 0);
MODULE_PARM_DESC(nowayout, "Disable watchdog shutdown on close");
-#define READ_REG(x) readl((void __iomem*)&(x))
-#define WRITE_REG(x,v) writel((v), (void __iomem*)&(x))
+#define READ_REG(x) readl((void __iomem *)&(x))
+#define WRITE_REG(x, v) writel((v), (void __iomem *)&(x))
struct ar7_wdt {
u32 kick_lock;