Skip to content

Commit 25f5601

Browse files
gmarullgalak
authored andcommitted
boards: 96b_wistrio: rename pinmux board file
The name pinmux is misleading, since no actual pinmuxing is done (just pull-up setup). Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 651fa0b commit 25f5601

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
zephyr_library()
2-
zephyr_library_sources(pinmux.c)
2+
zephyr_library_sources(pins.c)

boards/arm/96b_wistrio/pinmux.c renamed to boards/arm/96b_wistrio/pins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <kernel.h>
1111
#include <sys/sys_io.h>
1212

13-
static int pinmux_stm32_init(const struct device *port)
13+
static int pins_stm32_init(const struct device *port)
1414
{
1515
ARG_UNUSED(port);
1616
const struct device *gpioa, *gpiob, *gpioh;
@@ -49,4 +49,4 @@ static int pinmux_stm32_init(const struct device *port)
4949
}
5050

5151
/* Need to be initialised after GPIO driver */
52-
SYS_INIT(pinmux_stm32_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
52+
SYS_INIT(pins_stm32_init, POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);

0 commit comments

Comments
 (0)