Эх сурвалжийг харах

ARM: 7055/1: arm/tegra: mach/gpio.h: include linux/types.h to fix build

Tegra's <mach/gpio.h> uses type bool; we need to include <linux/types.h>
to get the definition.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Stephen Warren 14 жил өмнө
parent
commit
5f9d4f67be

+ 1 - 1
arch/arm/mach-tegra/include/mach/gpio.h

@@ -20,7 +20,7 @@
 #ifndef __MACH_TEGRA_GPIO_H
 #define __MACH_TEGRA_GPIO_H
 
-#include <linux/init.h>
+#include <linux/types.h>
 #include <mach/irqs.h>
 
 #define TEGRA_NR_GPIOS		INT_GPIO_NR