]> git.sur5r.net Git - u-boot/commitdiff
ARM: tegra: Make pinmux.h standalone includible
authorThierry Reding <treding@nvidia.com>
Fri, 20 Mar 2015 12:24:22 +0000 (13:24 +0100)
committerTom Warren <twarren@nvidia.com>
Thu, 13 Aug 2015 20:06:03 +0000 (13:06 -0700)
This header file uses type definitions (u8, u32) from linux/types.h but
doesn't include it. If includes aren't carefully ordered this can cause
build failures.

Cc: Tom Warren <twarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/pinmux.h

index 3cc52dd7731aaca4992a05583aa639217e3fa53d..65eb37334e952a44e37e1ac577975f2924386c78 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef _TEGRA_PINMUX_H_
 #define _TEGRA_PINMUX_H_
 
+#include <linux/types.h>
+
 #include <asm/arch/tegra.h>
 
 /* The pullup/pulldown state of a pin group */