diff --git a/arch/arm/mach-tegra/fuse.c b/arch/arm/mach-tegra/fuse.c index c9ac23b385bef9b1e736e7d3480d2b05a6da63a4..930fef8612277bc3cd42aced90673193ae67263e 100644 --- a/arch/arm/mach-tegra/fuse.c +++ b/arch/arm/mach-tegra/fuse.c @@ -23,7 +23,8 @@ #include #include #include -#include + +#include #include "fuse.h" #include "iomap.h" diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c index 7c7123e7557bef24037e00c3427d072f4f778cf3..0f457801eacaf8f7c704927a5cb454df8c0b8562 100644 --- a/arch/arm/mach-tegra/pmc.c +++ b/arch/arm/mach-tegra/pmc.c @@ -20,7 +20,8 @@ #include #include #include -#include + +#include #include "flowctrl.h" #include "fuse.h" diff --git a/arch/arm/mach-tegra/powergate.c b/arch/arm/mach-tegra/powergate.c index 4cefc5cd6bedcc50ddc345c857270fda1ad17d49..7b148bc6c995a195faaaea85d67d2cc0e9defdbb 100644 --- a/arch/arm/mach-tegra/powergate.c +++ b/arch/arm/mach-tegra/powergate.c @@ -29,7 +29,8 @@ #include #include #include -#include + +#include #include "fuse.h" #include "iomap.h" diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index 558a239954e84813bb73de6826416341649d64d3..d8961ef4d2e70ddf33f123905700f3772c82c2aa 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c @@ -25,7 +25,8 @@ #include #include #include -#include + +#include #define DRV_NAME "tegra-ahb" diff --git a/drivers/clk/tegra/clk-periph-gate.c b/drivers/clk/tegra/clk-periph-gate.c index 507015314827b079577dd85e1bd8e8faab54d628..0aa8830ae7cc76c5fd1335ce8149a981ec0612d8 100644 --- a/drivers/clk/tegra/clk-periph-gate.c +++ b/drivers/clk/tegra/clk-periph-gate.c @@ -20,7 +20,8 @@ #include #include #include -#include + +#include #include "clk.h" diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c index 8b10c38b6e3c677a19be8253ca11629a3a145445..5679ffdb3f8cbdee4f2d45fa08e016dd54c92144 100644 --- a/drivers/clk/tegra/clk-tegra30.c +++ b/drivers/clk/tegra/clk-tegra30.c @@ -22,8 +22,11 @@ #include #include #include -#include + +#include + #include + #include "clk.h" #include "clk-id.h" diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c index c0a7d77235105472d225d6f528c81e675866fd3c..f4503ba974005c77ea165b088f24036d6e949fc7 100644 --- a/drivers/clk/tegra/clk.c +++ b/drivers/clk/tegra/clk.c @@ -19,7 +19,8 @@ #include #include #include -#include + +#include #include "clk.h" diff --git a/drivers/gpu/drm/tegra/gr3d.c b/drivers/gpu/drm/tegra/gr3d.c index 30f5ba9bd6d05c508eac1306c7b1468e6c515587..69974851e564dc2fb839557fd44494900c2fe7a3 100644 --- a/drivers/gpu/drm/tegra/gr3d.c +++ b/drivers/gpu/drm/tegra/gr3d.c @@ -12,7 +12,8 @@ #include #include #include -#include + +#include #include "drm.h" #include "gem.h" diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c index 27c979b5011112182226f7a1cd4d0e1e6b54c9ed..eafd0b8a71d2946961f1580b324c4bf90c54dfb7 100644 --- a/drivers/gpu/drm/tegra/sor.c +++ b/drivers/gpu/drm/tegra/sor.c @@ -11,7 +11,8 @@ #include #include #include -#include + +#include #include diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index 605b5b46a90390b3b2f630b5b2bcee146b4ead13..230d06c9328b39666f178159ce42080484a22fd2 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c @@ -35,7 +35,8 @@ #include #include #include -#include + +#include #include #include diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index 083cf37ca04752be2cdb5658255ac55df450fa78..a2f0f88be3828843294a97242bbf15ee649bf5d5 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c @@ -41,11 +41,12 @@ #include #include #include -#include -#include #include #include +#include +#include + #include #include #include diff --git a/include/linux/tegra-ahb.h b/include/soc/tegra/ahb.h similarity index 86% rename from include/linux/tegra-ahb.h rename to include/soc/tegra/ahb.h index f1cd075ceee1f23fb5d2a70256a3dbfc41403a08..504eb6f957e5d57c389dea25dcbdc84736c322ba 100644 --- a/include/linux/tegra-ahb.h +++ b/include/soc/tegra/ahb.h @@ -11,9 +11,9 @@ * more details. */ -#ifndef __LINUX_AHB_H__ -#define __LINUX_AHB_H__ +#ifndef __SOC_TEGRA_AHB_H__ +#define __SOC_TEGRA_AHB_H__ extern int tegra_ahb_enable_smmu(struct device_node *ahb); -#endif /* __LINUX_AHB_H__ */ +#endif /* __SOC_TEGRA_AHB_H__ */ diff --git a/include/linux/tegra-cpuidle.h b/include/soc/tegra/cpuidle.h similarity index 86% rename from include/linux/tegra-cpuidle.h rename to include/soc/tegra/cpuidle.h index 9c6286bbf662eace0461395b68d61f2fcfca05ef..ea04f4225638b76b89c58c3180b5ebc10aecd69a 100644 --- a/include/linux/tegra-cpuidle.h +++ b/include/soc/tegra/cpuidle.h @@ -11,8 +11,8 @@ * more details. */ -#ifndef __LINUX_TEGRA_CPUIDLE_H__ -#define __LINUX_TEGRA_CPUIDLE_H__ +#ifndef __SOC_TEGRA_CPUIDLE_H__ +#define __SOC_TEGRA_CPUIDLE_H__ #ifdef CONFIG_CPU_IDLE void tegra_cpuidle_pcie_irqs_in_use(void); @@ -22,4 +22,4 @@ static inline void tegra_cpuidle_pcie_irqs_in_use(void) } #endif -#endif +#endif /* __SOC_TEGRA_CPUIDLE_H__ */ diff --git a/include/linux/tegra-soc.h b/include/soc/tegra/fuse.h similarity index 88% rename from include/linux/tegra-soc.h rename to include/soc/tegra/fuse.h index 95f611d78f3ae30dd0b6a550f17121080986817b..85f555c89ad55b475a1c3e8cb6d7bffe431d5cb6 100644 --- a/include/linux/tegra-soc.h +++ b/include/soc/tegra/fuse.h @@ -14,9 +14,9 @@ * along with this program. If not, see . */ -#ifndef __LINUX_TEGRA_SOC_H_ -#define __LINUX_TEGRA_SOC_H_ +#ifndef __SOC_TEGRA_FUSE_H__ +#define __SOC_TEGRA_FUSE_H__ u32 tegra_read_chipid(void); -#endif /* __LINUX_TEGRA_SOC_H_ */ +#endif /* __SOC_TEGRA_FUSE_H__ */ diff --git a/include/linux/tegra-powergate.h b/include/soc/tegra/powergate.h similarity index 96% rename from include/linux/tegra-powergate.h rename to include/soc/tegra/powergate.h index 46f0a07812b46ab135836d1d13e6d8c86a50168b..c16912ed1a8d00c8e2eb62db56a7f4c174407d04 100644 --- a/include/linux/tegra-powergate.h +++ b/include/soc/tegra/powergate.h @@ -15,8 +15,8 @@ * */ -#ifndef _MACH_TEGRA_POWERGATE_H_ -#define _MACH_TEGRA_POWERGATE_H_ +#ifndef __SOC_TEGRA_POWERGATE_H__ +#define __SOC_TEGRA_POWERGATE_H__ struct clk; struct reset_control; @@ -131,4 +131,4 @@ static inline int tegra_io_rail_power_off(int id) } #endif -#endif /* _MACH_TEGRA_POWERGATE_H_ */ +#endif /* __SOC_TEGRA_POWERGATE_H__ */