[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1313085952-26365-1-git-send-email-swarren@nvidia.com>
Date: Thu, 11 Aug 2011 12:05:52 -0600
From: Stephen Warren <swarren@...dia.com>
To: Arnd Bergmann <arnd@...db.de>, Colin Cross <ccross@...roid.com>,
Erik Gilling <konkers@...roid.com>,
Olof Johansson <olof@...om.net>
Cc: Russell King <linux@....linux.org.uk>, linux-tegra@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Stephen Warren <swarren@...dia.com>
Subject: [PATCH] ARM: tegra: Fix <mach/gpio.h> to have necessary #includes
Without this, EINVAL isn't defined, and type bool isn't declared.
This leads to compilation failures.
Signed-off-by: Stephen Warren <swarren@...dia.com>
---
arch/arm/mach-tegra/include/mach/gpio.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-tegra/include/mach/gpio.h b/arch/arm/mach-tegra/include/mach/gpio.h
index e353805..96af4ff 100644
--- a/arch/arm/mach-tegra/include/mach/gpio.h
+++ b/arch/arm/mach-tegra/include/mach/gpio.h
@@ -20,7 +20,8 @@
#ifndef __MACH_TEGRA_GPIO_H
#define __MACH_TEGRA_GPIO_H
-#include <linux/init.h>
+#include <linux/errno.h>
+#include <linux/types.h>
#include <mach/irqs.h>
#define TEGRA_NR_GPIOS INT_GPIO_NR
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists