diff options
Diffstat (limited to 'target/linux/ifxmips/files/arch/mips')
-rw-r--r-- | target/linux/ifxmips/files/arch/mips/ifxmips/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c index 6a17f60bd..0f084a81b 100644 --- a/target/linux/ifxmips/files/arch/mips/ifxmips/board.c +++ b/target/linux/ifxmips/files/arch/mips/ifxmips/board.c @@ -337,9 +337,10 @@ struct ifxmips_board *ifxmips_find_board(void) int __init ifxmips_init_devices(void) { - struct ifxmips_board *board = ifxmips_find_board(); + struct ifxmips_board *board; chiprev = (ifxmips_r32(IFXMIPS_MPS_CHIPID) & 0x0FFFFFFF); + board = ifxmips_find_board(); ifxmips_brn = ifxmips_find_brn_block(); if (!cmdline_mac) |