Skip to content

Commit

Permalink
arm: at91: fix compiler warning for eb01 board build
Browse files Browse the repository at this point in the history
Fix compiler warning when building for AT91EB01 board:

arch/arm/mach-at91/board-eb01.c:41: warning: initialisation from incompatible pointer type

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  • Loading branch information
Greg Ungerer authored and Jean-Christophe PLAGNIOL-VILLARD committed Apr 23, 2011
1 parent 0312e82 commit 91a2f4d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/arm/mach-at91/board-eb01.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
#include <mach/board.h>
#include "generic.h"

static void __init at91eb01_init_irq(void)
{
at91x40_init_interrupts(NULL);
}

static void __init at91eb01_map_io(void)
{
at91x40_initialize(40000000);
Expand All @@ -38,7 +43,7 @@ static void __init at91eb01_map_io(void)
MACHINE_START(AT91EB01, "Atmel AT91 EB01")
/* Maintainer: Greg Ungerer <gerg@snapgear.com> */
.timer = &at91x40_timer,
.init_irq = at91x40_init_interrupts,
.init_irq = at91eb01_init_irq,
.map_io = at91eb01_map_io,
MACHINE_END

0 comments on commit 91a2f4d

Please sign in to comment.