MIPS: tb0229: fix compile errors

This board breaks MAKEALL -a mips due to compile errors.
This patch fixes only the parts causing the errors to get MAKEALL
working.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
This commit is contained in:
Daniel Schwierzeck 2011-12-11 06:39:37 +00:00 committed by Wolfgang Denk
parent 3b2001105f
commit 5fb5da7945
3 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,6 @@
*/
#include <common.h>
#include <asm/ppc4xx.h>
#include <asm/processor.h>
flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */

View file

@ -11,6 +11,7 @@
#include <common.h>
#include <command.h>
#include <netdev.h>
#include <asm/addrspace.h>
#include <asm/io.h>
#include <asm/reboot.h>

View file

@ -184,7 +184,7 @@ static int vr4131_pci_write_config_dword (u32 hose, u32 dev, u32 reg, u32 val)
* Initialize VR4131 PCIU
*/
vr4131_pciu_init ()
static void vr4131_pciu_init(void)
{
/* PCI clock */
*VR4131_PCICLKSELREG = 0x00000002;