* [PATCH V2] ARM: tegra: remove useless includes of <mach/*.h>
@ 2012-09-11 16:42 Stephen Warren
2012-09-11 17:11 ` Stephen Warren
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Warren @ 2012-09-11 16:42 UTC (permalink / raw)
To: linux-arm-kernel
From: Stephen Warren <swarren@nvidia.com>
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>
---
v2: Also remove 4 includes of <mach/suspend.h>
---
arch/arm/mach-tegra/dma.c | 1 -
arch/arm/mach-tegra/tegra20_clocks.c | 1 -
arch/arm/mach-tegra/tegra20_clocks_data.c | 1 -
arch/arm/mach-tegra/timer.c | 1 -
arch/arm/mach-tegra/usb_phy.c | 1 -
5 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-tegra/dma.c b/arch/arm/mach-tegra/dma.c
index 29c5114..7f27320 100644
--- a/arch/arm/mach-tegra/dma.c
+++ b/arch/arm/mach-tegra/dma.c
@@ -31,7 +31,6 @@
#include <mach/dma.h>
#include <mach/irqs.h>
#include <mach/iomap.h>
-#include <mach/suspend.h>
#include "apbio.h"
diff --git a/arch/arm/mach-tegra/tegra20_clocks.c b/arch/arm/mach-tegra/tegra20_clocks.c
index e2a43e4..a4561da 100644
--- a/arch/arm/mach-tegra/tegra20_clocks.c
+++ b/arch/arm/mach-tegra/tegra20_clocks.c
@@ -28,7 +28,6 @@
#include <linux/clk.h>
#include <mach/iomap.h>
-#include <mach/suspend.h>
#include "clock.h"
#include "fuse.h"
diff --git a/arch/arm/mach-tegra/tegra20_clocks_data.c b/arch/arm/mach-tegra/tegra20_clocks_data.c
index be57764..0e8ed37 100644
--- a/arch/arm/mach-tegra/tegra20_clocks_data.c
+++ b/arch/arm/mach-tegra/tegra20_clocks_data.c
@@ -28,7 +28,6 @@
#include <linux/clk.h>
#include <mach/iomap.h>
-#include <mach/suspend.h>
#include "clock.h"
#include "fuse.h"
diff --git a/arch/arm/mach-tegra/timer.c b/arch/arm/mach-tegra/timer.c
index 57b5bdc..eccdce9 100644
--- a/arch/arm/mach-tegra/timer.c
+++ b/arch/arm/mach-tegra/timer.c
@@ -33,7 +33,6 @@
#include <mach/iomap.h>
#include <mach/irqs.h>
-#include <mach/suspend.h>
#include "board.h"
#include "clock.h"
diff --git a/arch/arm/mach-tegra/usb_phy.c b/arch/arm/mach-tegra/usb_phy.c
index 022b33a..34ffebb 100644
--- a/arch/arm/mach-tegra/usb_phy.c
+++ b/arch/arm/mach-tegra/usb_phy.c
@@ -30,7 +30,6 @@
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.h>
#include <asm/mach-types.h>
-#include <mach/gpio-tegra.h>
#include <mach/usb_phy.h>
#include <mach/iomap.h>
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH V2] ARM: tegra: remove useless includes of <mach/*.h>
2012-09-11 16:42 [PATCH V2] ARM: tegra: remove useless includes of <mach/*.h> Stephen Warren
@ 2012-09-11 17:11 ` Stephen Warren
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2012-09-11 17:11 UTC (permalink / raw)
To: linux-arm-kernel
On 09/11/2012 10:42 AM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> 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>
Applied to Tegra's for-3.7/cleanup2 branch.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-11 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 16:42 [PATCH V2] ARM: tegra: remove useless includes of <mach/*.h> Stephen Warren
2012-09-11 17:11 ` Stephen Warren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).