Skip to content

Commit

Permalink
gpio: tegra: remove useless includes of <mach/*.h>
Browse files Browse the repository at this point in the history
Nothing from these files is needed, so remove the includes. This helps
single zImage work by reducing use of the mach-tegra/include/mach/
directory.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Stephen Warren committed Sep 6, 2012
1 parent 0b0d00e commit 70a5dbf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpio/gpio-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@

#include <asm/mach/irq.h>

#include <mach/iomap.h>
#include <mach/suspend.h>

#define GPIO_BANK(x) ((x) >> 5)
#define GPIO_PORT(x) (((x) >> 3) & 0x3)
#define GPIO_BIT(x) ((x) & 0x7)
Expand Down

0 comments on commit 70a5dbf

Please sign in to comment.