Skip to content

Commit

Permalink
ARM: 7055/1: arm/tegra: mach/gpio.h: include linux/types.h to fix build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Russell King committed Aug 24, 2011
1 parent ece88dc commit 5f9d4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/include/mach/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f9d4f6

Please sign in to comment.