Skip to content

Commit 113494b

Browse files
committed
include: dt-bindings: gecko: Correct include-guard
Both `include/zephyr/dt-bindings/pinctrl/gecko-pinctrl.h` and `include/zephyr/dt-bindings/pinctrl/gecko-pinctrl-s1.h` define `ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_H_` to prevent duplicate inclusion. Changed it to `ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_S1_H_` in `include/zephyr/dt-bindings/pinctrl/gecko-pinctrl-s1.h` side. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent a9d8c5b commit 113494b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/zephyr/dt-bindings/pinctrl/gecko-pinctrl-s1.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_H_
7-
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_H_
6+
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_S1_H_
7+
#define ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_S1_H_
88

99
/*
1010
* The whole GECKO_pin configuration information is encoded in a 32-bit bitfield
@@ -115,4 +115,4 @@
115115
(((GECKO_LOCATION(##loc##) & GECKO_LOC_MSK) << GECKO_LOC_POS) | \
116116
((GECKO_FUN_##fun##_LOC & GECKO_FUN_MSK) << GECKO_FUN_POS))
117117

118-
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_H_ */
118+
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_PINCTRL_GECKO_PINCTRL_S1_H_ */

0 commit comments

Comments
 (0)