浏览代码

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 年之前
父节点
当前提交
5f9d4f67be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/mach-tegra/include/mach/gpio.h

+ 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