diff mbox series

[1/2] dt-bindings: gpio: Use Tegra186-specific include guard

Message ID 20201127140852.123192-2-thierry.reding@gmail.com
State New
Headers show
Series gpio: tegra: Convert to gpio_irq_chip | expand

Commit Message

Thierry Reding Nov. 27, 2020, 2:08 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Use a unique include guard for the Tegra186 GPIO DT bindings header to
avoid clashes with the DT bindings header for earlier chips.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 include/dt-bindings/gpio/tegra186-gpio.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Linus Walleij Dec. 5, 2020, 9:35 p.m. UTC | #1
On Fri, Nov 27, 2020 at 3:09 PM Thierry Reding <thierry.reding@gmail.com> wrote:

> From: Thierry Reding <treding@nvidia.com>

>

> Use a unique include guard for the Tegra186 GPIO DT bindings header to

> avoid clashes with the DT bindings header for earlier chips.

>

> Signed-off-by: Thierry Reding <treding@nvidia.com>


This patch applied!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/include/dt-bindings/gpio/tegra186-gpio.h b/include/dt-bindings/gpio/tegra186-gpio.h
index 0782b05e2775..af0d9583be70 100644
--- a/include/dt-bindings/gpio/tegra186-gpio.h
+++ b/include/dt-bindings/gpio/tegra186-gpio.h
@@ -8,8 +8,8 @@ 
  * The second cell contains standard flag values specified in gpio.h.
  */
 
-#ifndef _DT_BINDINGS_GPIO_TEGRA_GPIO_H
-#define _DT_BINDINGS_GPIO_TEGRA_GPIO_H
+#ifndef _DT_BINDINGS_GPIO_TEGRA186_GPIO_H
+#define _DT_BINDINGS_GPIO_TEGRA186_GPIO_H
 
 #include <dt-bindings/gpio/gpio.h>