Skip to content

Commit

Permalink
ARM: tegra: remove unnecessary includes of <mach/*.h>
Browse files Browse the repository at this point in the history
This should make it easier to delete or move <mach/*.h>; something that
is useful for single-zImage.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
  • Loading branch information
Stephen Warren committed Nov 5, 2012
1 parent e68917a commit a25186e
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 17 deletions.
1 change: 0 additions & 1 deletion arch/arm/mach-tegra/board-dt-tegra20.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <asm/setup.h>

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

#include "board.h"
#include "clock.h"
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-tegra/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#include <linux/seq_file.h>
#include <linux/slab.h>

#include <mach/clk.h>

#include "board.h"
#include "clock.h"
#include "tegra_cpu_car.h"
Expand Down
3 changes: 0 additions & 3 deletions arch/arm/mach-tegra/cpu-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
#include <linux/io.h>
#include <linux/suspend.h>


#include <mach/clk.h>

/* Frequency table index must be sequential starting at 0 */
static struct cpufreq_frequency_table freq_table[] = {
{ 0, 216000 },
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-tegra/cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@

#include <asm/proc-fns.h>

#include <mach/iomap.h>

static int tegra_idle_enter_lp3(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index);

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/mach-tegra/include/mach/powergate.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef _MACH_TEGRA_POWERGATE_H_
#define _MACH_TEGRA_POWERGATE_H_

struct clk;

#define TEGRA_POWERGATE_CPU 0
#define TEGRA_POWERGATE_3D 1
#define TEGRA_POWERGATE_VENC 2
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-tegra/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <asm/mach-types.h>
#include <asm/smp_scu.h>

#include <mach/clk.h>
#include <mach/iomap.h>
#include <mach/powergate.h>

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-tegra/sleep-t20.S
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

#include <asm/assembler.h>

#include <mach/iomap.h>

#include "sleep.h"
#include "flowctrl.h"

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-tegra/sleep-t30.S
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#include <asm/assembler.h>

#include <mach/iomap.h>

#include "sleep.h"
#include "flowctrl.h"

Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-tegra/tegra20_clocks_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#include <linux/io.h>
#include <linux/clk.h>

#include <mach/iomap.h>

#include "clock.h"
#include "fuse.h"
#include "tegra2_emc.h"
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/mach-tegra/tegra2_emc.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include <linux/platform_device.h>
#include <linux/platform_data/tegra_emc.h>

#include <mach/iomap.h>

#include "tegra2_emc.h"
#include "fuse.h"

Expand Down

0 comments on commit a25186e

Please sign in to comment.