ARM: tegra: remove unnecessary includes of <mach/*.h>
authorStephen Warren <swarren@nvidia.com>
Thu, 4 Oct 2012 19:50:56 +0000 (13:50 -0600)
committerStephen Warren <swarren@nvidia.com>
Mon, 5 Nov 2012 18:36:05 +0000 (11:36 -0700)
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>
arch/arm/mach-tegra/board-dt-tegra20.c
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/cpu-tegra.c
arch/arm/mach-tegra/cpuidle.c
arch/arm/mach-tegra/include/mach/powergate.h
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/sleep-t20.S
arch/arm/mach-tegra/sleep-t30.S
arch/arm/mach-tegra/tegra20_clocks_data.c
arch/arm/mach-tegra/tegra2_emc.c

index aa5325cd1c4289ab16d9a6566ac4ee8c740bbc24..82837e91d5a6a367117047d8a58265a3ff51d9ba 100644 (file)
@@ -41,7 +41,6 @@
 #include <asm/setup.h>
 
 #include <mach/iomap.h>
-#include <mach/irqs.h>
 
 #include "board.h"
 #include "clock.h"
index fd82085eca5d12eda4134759f1535bd6426f1c91..867bf8bf556159ffcb12584d6d1bb8788ab7b821 100644 (file)
@@ -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"
index 627bf0f4262ec01550242b8d52a8e384e2233c6a..a74d3c7d2e26836beac265f15db1c3c69b1575c7 100644 (file)
@@ -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 },
index 566e2f88899bdbde99595d4e166a1e87ad47f0aa..9a6f051b382e1516e7f01cd205d05c9114abb91c 100644 (file)
@@ -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);
 
index 4752b1a68f35503a80ce58703d03dadf897561bb..06763fe7529de15655b72f7cf3ecd4040c5b76a0 100644 (file)
@@ -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
index 81cb26591acf65a2351038cd8a339afb25aa1aff..e50870c720381812fed27a48df02afcf05067097 100644 (file)
@@ -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>
 
index a36ae413e2b84fcee956b74577df8da740932cee..72ce709799dac5e55cff19b5d279d6e5aceca4b8 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <asm/assembler.h>
 
-#include <mach/iomap.h>
-
 #include "sleep.h"
 #include "flowctrl.h"
 
index 777d9cee8b9000be99ab07bbc21211146960f35f..be7614b7c5cb5304e20d2b42fbfad4e75cec5568 100644 (file)
@@ -18,8 +18,6 @@
 
 #include <asm/assembler.h>
 
-#include <mach/iomap.h>
-
 #include "sleep.h"
 #include "flowctrl.h"
 
index 8d398a33adf738e7c263ef04cba9b8e5eaa773b9..9615ee39c353305c54cff1a8c269c92f11269d94 100644 (file)
@@ -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"
index 5070d833bdd1ebbf3df1763353f155e66b97d04a..837c7b9ea63b1c6561a6fbb13397f36da2ff75a3 100644 (file)
@@ -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"