summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2008-06-18 18:32:03 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-28 18:10:31 +0900
commit787d9d7e89c3952db12d9e4bb02ba5c5a85f6b7f (patch)
tree3d216ac87bc5e11e0125b5f48c2f5180be48455f
parentb2e4c109a8a49d1df37572a12e3261e9c7361cc7 (diff)
downloadblackbird-op-linux-787d9d7e89c3952db12d9e4bb02ba5c5a85f6b7f.tar.gz
blackbird-op-linux-787d9d7e89c3952db12d9e4bb02ba5c5a85f6b7f.zip
sh: Clean up code of Solution Engine 770x
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/boards/se/770x/setup.c4
-rw-r--r--include/asm-sh/se.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/boards/se/770x/setup.c b/arch/sh/boards/se/770x/setup.c
index 25767cc3a50d..cf4a5ba12df4 100644
--- a/arch/sh/boards/se/770x/setup.c
+++ b/arch/sh/boards/se/770x/setup.c
@@ -14,8 +14,6 @@
#include <asm/smc37c93x.h>
#include <asm/heartbeat.h>
-void init_se_IRQ(void);
-
/*
* Configure the Super I/O chip
*/
@@ -73,7 +71,7 @@ static struct resource cf_ide_resources[] = {
},
[1] = {
.start = PA_MRSHPC_IO + 0x1f0 + 0x206,
- .end = PA_MRSHPC_IO + 0x1f0 +8 + 0x206 + 8,
+ .end = PA_MRSHPC_IO + 0x1f0 + 8 + 0x206 + 8,
.flags = IORESOURCE_MEM,
},
[2] = {
diff --git a/include/asm-sh/se.h b/include/asm-sh/se.h
index 0e2f720b9664..eb23000e1bbe 100644
--- a/include/asm-sh/se.h
+++ b/include/asm-sh/se.h
@@ -91,6 +91,8 @@
#define SH_ETH1_IRQ 81
#define SH_TSU_IRQ 82
+void init_se_IRQ(void);
+
#define __IO_PREFIX se
#include <asm/io_generic.h>
OpenPOWER on IntegriCloud