Skip to content

Commit

Permalink
sh: Fix se73180 platform device registration.
Browse files Browse the repository at this point in the history
Copy and paste error from se7343, fix it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jun 4, 2007
1 parent 0fd1475 commit 9a41284
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions arch/sh/boards/se/73180/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
11 changes: 6 additions & 5 deletions include/asm-sh/se73180.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 */

0 comments on commit 9a41284

Please sign in to comment.