diff options
Diffstat (limited to 'arch/mips/alchemy/board-mtx1.c')
-rw-r--r-- | arch/mips/alchemy/board-mtx1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/alchemy/board-mtx1.c b/arch/mips/alchemy/board-mtx1.c index 295f1a95f745..99969484c475 100644 --- a/arch/mips/alchemy/board-mtx1.c +++ b/arch/mips/alchemy/board-mtx1.c | |||
@@ -81,10 +81,10 @@ static void mtx1_power_off(void) | |||
81 | 81 | ||
82 | void __init board_setup(void) | 82 | void __init board_setup(void) |
83 | { | 83 | { |
84 | #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) | 84 | #if IS_ENABLED(CONFIG_USB_OHCI_HCD) |
85 | /* Enable USB power switch */ | 85 | /* Enable USB power switch */ |
86 | alchemy_gpio_direction_output(204, 0); | 86 | alchemy_gpio_direction_output(204, 0); |
87 | #endif /* defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) */ | 87 | #endif /* IS_ENABLED(CONFIG_USB_OHCI_HCD) */ |
88 | 88 | ||
89 | /* Initialize sys_pinfunc */ | 89 | /* Initialize sys_pinfunc */ |
90 | au_writel(SYS_PF_NI2, SYS_PINFUNC); | 90 | au_writel(SYS_PF_NI2, SYS_PINFUNC); |