Эх сурвалжийг харах

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>
Nobuhiro Iwamatsu 17 жил өмнө
parent
commit
787d9d7e89

+ 1 - 3
arch/sh/boards/se/770x/setup.c

@@ -14,8 +14,6 @@
 #include <asm/smc37c93x.h>
 #include <asm/smc37c93x.h>
 #include <asm/heartbeat.h>
 #include <asm/heartbeat.h>
 
 
-void init_se_IRQ(void);
-
 /*
 /*
  * Configure the Super I/O chip
  * Configure the Super I/O chip
  */
  */
@@ -73,7 +71,7 @@ static struct resource cf_ide_resources[] = {
 	},
 	},
 	[1] = {
 	[1] = {
 		.start  = PA_MRSHPC_IO + 0x1f0 + 0x206,
 		.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,
 		.flags  = IORESOURCE_MEM,
 	},
 	},
 	[2] = {
 	[2] = {

+ 2 - 0
include/asm-sh/se.h

@@ -91,6 +91,8 @@
 #define SH_ETH1_IRQ	81
 #define SH_ETH1_IRQ	81
 #define SH_TSU_IRQ	82
 #define SH_TSU_IRQ	82
 
 
+void init_se_IRQ(void);
+
 #define __IO_PREFIX	se
 #define __IO_PREFIX	se
 #include <asm/io_generic.h>
 #include <asm/io_generic.h>