diff options
Diffstat (limited to 'arch/mips/au1000/mtx-1/board_setup.c')
-rw-r--r-- | arch/mips/au1000/mtx-1/board_setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/au1000/mtx-1/board_setup.c b/arch/mips/au1000/mtx-1/board_setup.c index 7bc5af8917da..2c460c116570 100644 --- a/arch/mips/au1000/mtx-1/board_setup.c +++ b/arch/mips/au1000/mtx-1/board_setup.c | |||
@@ -54,11 +54,11 @@ void board_reset (void) | |||
54 | 54 | ||
55 | void __init board_setup(void) | 55 | void __init board_setup(void) |
56 | { | 56 | { |
57 | #ifdef CONFIG_USB_OHCI | 57 | #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) |
58 | // enable USB power switch | 58 | // enable USB power switch |
59 | au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR ); | 59 | au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR ); |
60 | au_writel( 0x100000, GPIO2_OUTPUT ); | 60 | au_writel( 0x100000, GPIO2_OUTPUT ); |
61 | #endif // defined (CONFIG_USB_OHCI) | 61 | #endif /* defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) */ |
62 | 62 | ||
63 | #ifdef CONFIG_PCI | 63 | #ifdef CONFIG_PCI |
64 | #if defined(__MIPSEB__) | 64 | #if defined(__MIPSEB__) |