From c1908c3d0be1147345c9565d7d892ecdd70b031e Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 23 May 2018 07:19:26 -0500 Subject: [PATCH] boards: arm: Fixup comment related to CONFIG_USB_DC_STM We had a comment related to the #endif for CONFIG_USB_DC_STM32 however the comment said CONFIG_USB_DC_STM, so fix it to match the ifdef. Signed-off-by: Kumar Gala --- boards/arm/96b_carbon/pinmux.c | 2 +- boards/arm/nucleo_f413zh/pinmux.c | 2 +- boards/arm/stm32f3_disco/pinmux.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/arm/96b_carbon/pinmux.c b/boards/arm/96b_carbon/pinmux.c index 31ad06b1619..b63015a5ae0 100644 --- a/boards/arm/96b_carbon/pinmux.c +++ b/boards/arm/96b_carbon/pinmux.c @@ -49,7 +49,7 @@ static const struct pin_config pinconf[] = { #ifdef CONFIG_USB_DC_STM32 {STM32_PIN_PA11, STM32F4_PINMUX_FUNC_PA11_OTG_FS_DM}, {STM32_PIN_PA12, STM32F4_PINMUX_FUNC_PA12_OTG_FS_DP}, -#endif /* CONFIG_USB_DC_STM */ +#endif /* CONFIG_USB_DC_STM32 */ }; static int pinmux_stm32_init(struct device *port) diff --git a/boards/arm/nucleo_f413zh/pinmux.c b/boards/arm/nucleo_f413zh/pinmux.c index 2c09bd060c7..acb0bed3d9e 100644 --- a/boards/arm/nucleo_f413zh/pinmux.c +++ b/boards/arm/nucleo_f413zh/pinmux.c @@ -24,7 +24,7 @@ static const struct pin_config pinconf[] = { #ifdef CONFIG_USB_DC_STM32 {STM32_PIN_PA11, STM32F4_PINMUX_FUNC_PA11_OTG_FS_DM}, {STM32_PIN_PA12, STM32F4_PINMUX_FUNC_PA12_OTG_FS_DP}, -#endif /* CONFIG_USB_DC_STM */ +#endif /* CONFIG_USB_DC_STM32 */ }; static int pinmux_stm32_init(struct device *port) diff --git a/boards/arm/stm32f3_disco/pinmux.c b/boards/arm/stm32f3_disco/pinmux.c index 2ea6fcf16b0..f2fe2d3712a 100644 --- a/boards/arm/stm32f3_disco/pinmux.c +++ b/boards/arm/stm32f3_disco/pinmux.c @@ -45,7 +45,7 @@ static const struct pin_config pinconf[] = { #ifdef CONFIG_USB_DC_STM32 {STM32_PIN_PA11, STM32F3_PINMUX_FUNC_PA11_USB_DM}, {STM32_PIN_PA12, STM32F3_PINMUX_FUNC_PA12_USB_DP}, -#endif /* CONFIG_USB_DC_STM */ +#endif /* CONFIG_USB_DC_STM32 */ }; static int pinmux_stm32_init(struct device *port)