]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: Fix se73180 platform device registration.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2007 02:07:23 +0000 (11:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2007 02:07:23 +0000 (11:07 +0900)
Copy and paste error from se7343, fix it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/se/73180/setup.c
include/asm-sh/se73180.h

index 911ce1cdbd7f86865bb903ac054b359f0f6be82b..e143017c8975a0662ca64c2116106e8f97389533 100644 (file)
@@ -38,8 +38,8 @@ static struct platform_device *se73180_devices[] __initdata = {
 
 static int __init se73180_devices_setup(void)
 {
-       return platform_add_devices(sh7343se_platform_devices,
-                                   ARRAY_SIZE(sh7343se_platform_devices));
+       return platform_add_devices(se73180_devices,
+                                   ARRAY_SIZE(se73180_devices));
 }
 __initcall(se73180_devices_setup);
 
index 3a4acb3e38a15239f695d0f95313977f5cb2f2bc..907c062b4c9a8296eebc5f77964d12296ed35acf 100644 (file)
@@ -1,9 +1,7 @@
-#ifndef __ASM_SH_HITACHI_SE73180_H
-#define __ASM_SH_HITACHI_SE73180_H
+#ifndef __ASM_SH_SE73180_H
+#define __ASM_SH_SE73180_H
 
 /*
- * include/asm-sh/se/se73180.h
- *
  * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp>
  *
  * SH-Mobile SolutionEngine 73180 support
@@ -62,4 +60,7 @@
 #define __IO_PREFIX    sh73180se
 #include <asm/io_generic.h>
 
-#endif  /* __ASM_SH_HITACHI_SE73180_H */
+/* arch/sh/boards/se/73180/irq.c */
+int shmse_irq_demux(int irq);
+
+#endif  /* __ASM_SH_SE73180_H */