2012-08-28 07:01:52

by Stephen Warren

[permalink] [raw]
Subject: [PATCH] dma: tegra: remove useless include of <mach/*.h>

From: Stephen Warren <[email protected]>

Nothing from this file is needed, so remove the include. This helps
single zImage work by reducing use of the mach-tegra/include/mach/
directory.

Signed-off-by: Stephen Warren <[email protected]>
---
drivers/dma/tegra20-apb-dma.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c
index 24acd71..1949e53 100644
--- a/drivers/dma/tegra20-apb-dma.c
+++ b/drivers/dma/tegra20-apb-dma.c
@@ -32,7 +32,6 @@
#include <linux/pm_runtime.h>
#include <linux/slab.h>

-#include <mach/clk.h>
#include "dmaengine.h"

#define TEGRA_APBDMA_GENERAL 0x0
--
1.7.9.5


2012-08-28 17:21:44

by Stephen Warren

[permalink] [raw]
Subject: Re: [PATCH] dma: tegra: remove useless include of <mach/*.h>

On 08/28/2012 12:01 AM, Stephen Warren wrote:
> From: Stephen Warren <[email protected]>
>
> Nothing from this file is needed, so remove the include. This helps
> single zImage work by reducing use of the mach-tegra/include/mach/
> directory.

BTW, it'd be easiest for me to take this through the Tegra tree, so it
can be consolidated with other header re-org changes.

2012-08-28 19:03:06

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dma: tegra: remove useless include of <mach/*.h>

On Tue, 2012-08-28 at 10:21 -0700, Stephen Warren wrote:
> On 08/28/2012 12:01 AM, Stephen Warren wrote:
> > From: Stephen Warren <[email protected]>
> >
> > Nothing from this file is needed, so remove the include. This helps
> > single zImage work by reducing use of the mach-tegra/include/mach/
> > directory.
>
> BTW, it'd be easiest for me to take this through the Tegra tree, so it
> can be consolidated with other header re-org changes.
Sure, so here is the ack

Acked-by: Vinod Koul <[email protected]>

--
~Vinod Koul
Intel Corp.