From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 18 Nov 2007 11:55:02 +0000 (+0100) Subject: pb1x00 board: Fix u16 status declaration when PCMCIA is defined X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6073f61e078da5ddb521b56256bcc36508589883;p=u-boot.git pb1x00 board: Fix u16 status declaration when PCMCIA is defined Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/board/pb1x00/pb1x00.c b/board/pb1x00/pb1x00.c index 95b7d8246e..536c9544f5 100644 --- a/board/pb1x00/pb1x00.c +++ b/board/pb1x00/pb1x00.c @@ -42,7 +42,9 @@ void write_one_tlb( int index, u32 pagemask, u32 hi, u32 low0, u32 low1 ); int checkboard (void) { +#if defined(CONFIG_IDE_PCMCIA) && 0 u16 status; +#endif /* volatile u32 *pcmcia_bcsr = (u32*)(DB1000_BCSR_ADDR+0x10); */ volatile u32 *sys_counter = (volatile u32*)SYS_COUNTER_CNTRL; u32 proc_id;