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>
@@ -41,7 +41,6 @@
#include <asm/setup.h>
#include <mach/iomap.h>
-#include <mach/irqs.h>
#include "board.h"
#include "clock.h"
@@ -27,8 +27,6 @@
#include <linux/seq_file.h>
#include <linux/slab.h>
-#include <mach/clk.h>
-
#include "tegra_cpu_car.h"
@@ -30,9 +30,6 @@
#include <linux/io.h>
#include <linux/suspend.h>
/* Frequency table index must be sequential starting at 0 */
static struct cpufreq_frequency_table freq_table[] = {
{ 0, 216000 },
@@ -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);
@@ -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
@@ -24,7 +24,6 @@
#include <asm/mach-types.h>
#include <asm/smp_scu.h>
#include <mach/powergate.h>
@@ -22,8 +22,6 @@
#include <asm/assembler.h>
#include "sleep.h"
#include "flowctrl.h"
@@ -18,8 +18,6 @@
#include <linux/clk.h>
#include "fuse.h"
#include "tegra2_emc.h"
@@ -25,8 +25,6 @@
#include <linux/platform_device.h>
#include <linux/platform_data/tegra_emc.h>