sh: Clean up code of Solution Engine 770x
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Wed, 18 Jun 2008 09:32:03 +0000 (18:32 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:31 +0000 (18:10 +0900)
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/se/770x/setup.c
include/asm-sh/se.h

index 25767cc3a50db7eed84f6e82c4bd02324cb814b0..cf4a5ba12df4f2c343dfa3b109ed1eb93f4ed49c 100644 (file)
@@ -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] = {
index 0e2f720b96648247bdfa174cb6282e58eacd5e05..eb23000e1bbee1526410891891423fa3919fa259 100644 (file)
@@ -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>