Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: gpio: Use Tegra186-specific include guard

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>
Link: https://lore.kernel.org/r/20201127140852.123192-2-thierry.reding@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Thierry Reding and committed by
Linus Walleij
64a38367 a0de6958

+2 -2
+2 -2
include/dt-bindings/gpio/tegra186-gpio.h
··· 8 8 * The second cell contains standard flag values specified in gpio.h. 9 9 */ 10 10 11 - #ifndef _DT_BINDINGS_GPIO_TEGRA_GPIO_H 12 - #define _DT_BINDINGS_GPIO_TEGRA_GPIO_H 11 + #ifndef _DT_BINDINGS_GPIO_TEGRA186_GPIO_H 12 + #define _DT_BINDINGS_GPIO_TEGRA186_GPIO_H 13 13 14 14 #include <dt-bindings/gpio/gpio.h> 15 15