Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: tegra: remove unnecessary includes of <mach/*.h>

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>

+2 -17
-1
arch/arm/mach-tegra/board-dt-tegra20.c
··· 41 41 #include <asm/setup.h> 42 42 43 43 #include <mach/iomap.h> 44 - #include <mach/irqs.h> 45 44 46 45 #include "board.h" 47 46 #include "clock.h"
-2
arch/arm/mach-tegra/clock.c
··· 27 27 #include <linux/seq_file.h> 28 28 #include <linux/slab.h> 29 29 30 - #include <mach/clk.h> 31 - 32 30 #include "board.h" 33 31 #include "clock.h" 34 32 #include "tegra_cpu_car.h"
-3
arch/arm/mach-tegra/cpu-tegra.c
··· 30 30 #include <linux/io.h> 31 31 #include <linux/suspend.h> 32 32 33 - 34 - #include <mach/clk.h> 35 - 36 33 /* Frequency table index must be sequential starting at 0 */ 37 34 static struct cpufreq_frequency_table freq_table[] = { 38 35 { 0, 216000 },
-2
arch/arm/mach-tegra/cpuidle.c
··· 29 29 30 30 #include <asm/proc-fns.h> 31 31 32 - #include <mach/iomap.h> 33 - 34 32 static int tegra_idle_enter_lp3(struct cpuidle_device *dev, 35 33 struct cpuidle_driver *drv, int index); 36 34
+2
arch/arm/mach-tegra/include/mach/powergate.h
··· 20 20 #ifndef _MACH_TEGRA_POWERGATE_H_ 21 21 #define _MACH_TEGRA_POWERGATE_H_ 22 22 23 + struct clk; 24 + 23 25 #define TEGRA_POWERGATE_CPU 0 24 26 #define TEGRA_POWERGATE_3D 1 25 27 #define TEGRA_POWERGATE_VENC 2
-1
arch/arm/mach-tegra/platsmp.c
··· 24 24 #include <asm/mach-types.h> 25 25 #include <asm/smp_scu.h> 26 26 27 - #include <mach/clk.h> 28 27 #include <mach/iomap.h> 29 28 #include <mach/powergate.h> 30 29
-2
arch/arm/mach-tegra/sleep-t20.S
··· 22 22 23 23 #include <asm/assembler.h> 24 24 25 - #include <mach/iomap.h> 26 - 27 25 #include "sleep.h" 28 26 #include "flowctrl.h" 29 27
-2
arch/arm/mach-tegra/sleep-t30.S
··· 18 18 19 19 #include <asm/assembler.h> 20 20 21 - #include <mach/iomap.h> 22 - 23 21 #include "sleep.h" 24 22 #include "flowctrl.h" 25 23
-2
arch/arm/mach-tegra/tegra20_clocks_data.c
··· 27 27 #include <linux/io.h> 28 28 #include <linux/clk.h> 29 29 30 - #include <mach/iomap.h> 31 - 32 30 #include "clock.h" 33 31 #include "fuse.h" 34 32 #include "tegra2_emc.h"
-2
arch/arm/mach-tegra/tegra2_emc.c
··· 25 25 #include <linux/platform_device.h> 26 26 #include <linux/platform_data/tegra_emc.h> 27 27 28 - #include <mach/iomap.h> 29 - 30 28 #include "tegra2_emc.h" 31 29 #include "fuse.h" 32 30