projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0d00e
)
gpio: tegra: remove useless includes of <mach/*.h>
author
Stephen Warren
<swarren@nvidia.com>
Tue, 28 Aug 2012 06:27:11 +0000
(23:27 -0700)
committer
Stephen Warren
<swarren@nvidia.com>
Thu, 6 Sep 2012 17:46:59 +0000
(11:46 -0600)
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>
drivers/gpio/gpio-tegra.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-tegra.c
b/drivers/gpio/gpio-tegra.c
index dc5184d578929ba57886bad39d3c1623ddac6583..d982593d75634a0ac1450a3f5c5b55718df353da 100644
(file)
--- a/
drivers/gpio/gpio-tegra.c
+++ b/
drivers/gpio/gpio-tegra.c
@@
-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)