diff mbox series

[4/5] exynos: fix header inclusion guard

Message ID 20230515135214.4083319-5-andre.przywara@arm.com
State Accepted
Commit 081b160aa399f78e2bee54e4b59bd62862b22b68
Delegated to: Tom Rini
Headers show
Series Fix inclusion guards | expand

Commit Message

Andre Przywara May 15, 2023, 1:52 p.m. UTC
It seems like the header inclusion guard for the Exynos pinctrl header
was misspelled.

Make the preprocessor symbol for the #ifndef and #define lines the
same, so that the double inclusion protection works as expected.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 drivers/pinctrl/exynos/pinctrl-exynos.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini May 15, 2023, 2:30 p.m. UTC | #1
On Mon, May 15, 2023 at 02:52:13PM +0100, Andre Przywara wrote:

> It seems like the header inclusion guard for the Exynos pinctrl header
> was misspelled.
> 
> Make the preprocessor symbol for the #ifndef and #define lines the
> same, so that the double inclusion protection works as expected.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>

Reviewed-by: Tom Rini <trini@konsulko.com>
Tom Rini May 31, 2023, 5:18 p.m. UTC | #2
On Mon, May 15, 2023 at 02:52:13PM +0100, Andre Przywara wrote:

> It seems like the header inclusion guard for the Exynos pinctrl header
> was misspelled.
> 
> Make the preprocessor symbol for the #ifndef and #define lines the
> same, so that the double inclusion protection works as expected.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/drivers/pinctrl/exynos/pinctrl-exynos.h b/drivers/pinctrl/exynos/pinctrl-exynos.h
index a7788b76d90..cbc5174b48c 100644
--- a/drivers/pinctrl/exynos/pinctrl-exynos.h
+++ b/drivers/pinctrl/exynos/pinctrl-exynos.h
@@ -6,7 +6,7 @@ 
  */
 
 #ifndef __PINCTRL_EXYNOS_H_
-#define __PINCTRL_EXYNOS__H_
+#define __PINCTRL_EXYNOS_H_
 
 #define PIN_CON		0x00	/* Offset of pin function register */
 #define PIN_DAT		0x04	/* Offset of pin data register */