Skip to content

Commit

Permalink
MIPS: MTX-1: Fix build if CONFIG_PCI is disabled.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Nov 2, 2009
1 parent 72838a1 commit 39d2211
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/alchemy/mtx-1/board_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ void __init board_setup(void)
#else
au_writel(0xf, Au1500_PCI_CFG);
#endif
board_pci_idsel = mtx1_pci_idsel;
#endif

/* Initialize sys_pinfunc */
Expand All @@ -85,8 +86,6 @@ void __init board_setup(void)
alchemy_gpio_direction_output(211, 1); /* green on */
alchemy_gpio_direction_output(212, 0); /* red off */

board_pci_idsel = mtx1_pci_idsel;

printk(KERN_INFO "4G Systems MTX-1 Board\n");
}

Expand Down

0 comments on commit 39d2211

Please sign in to comment.