From 27e166b8752876547edda842813ea6af8aaf827e Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Mon, 19 Dec 2005 13:02:45 +0100 Subject: Fix compiler problem with at91rm9200dk board. Patch by Eugen Bigz, 19 Dec 2005 --- board/at91rm9200dk/at91rm9200dk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board') diff --git a/board/at91rm9200dk/at91rm9200dk.c b/board/at91rm9200dk/at91rm9200dk.c index 77caed3..9016776 100644 --- a/board/at91rm9200dk/at91rm9200dk.c +++ b/board/at91rm9200dk/at91rm9200dk.c @@ -41,7 +41,7 @@ int board_init (void) /* Correct IRDA resistor problem */ /* Set PA23_TXD in Output */ - (AT91PS_PIO) AT91C_BASE_PIOA->PIO_OER = AT91C_PA23_TXD2; + ((AT91PS_PIO) AT91C_BASE_PIOA)->PIO_OER = AT91C_PA23_TXD2; /* memory and cpu-speed are setup before relocation */ /* so we do _nothing_ here */ -- cgit v1.1