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

ARM: tegra: move tegra-ahb.h out of arch/arm/mach-tegra/

We wish to empty arch/arm/mach-tegra/include/mach/ as much as possible
to enable single zImage. Move tegra-ahb.h to a more central location
(suggested by Arnd, OK'd by Greg KH), and actually make tegra-ahb.c
include the header to ensure client and provider agree on the prototype.

Signed-off-by: Stephen Warren <swarren@nvidia.com>

+5 -5
+3 -3
arch/arm/mach-tegra/include/mach/tegra-ahb.h include/linux/tegra-ahb.h
··· 11 11 * more details. 12 12 */ 13 13 14 - #ifndef __MACH_TEGRA_AHB_H__ 15 - #define __MACH_TEGRA_AHB_H__ 14 + #ifndef __LINUX_AHB_H__ 15 + #define __LINUX_AHB_H__ 16 16 17 17 extern int tegra_ahb_enable_smmu(struct device_node *ahb); 18 18 19 - #endif /* __MACH_TEGRA_AHB_H__ */ 19 + #endif /* __LINUX_AHB_H__ */
+1
drivers/amba/tegra-ahb.c
··· 24 24 #include <linux/module.h> 25 25 #include <linux/platform_device.h> 26 26 #include <linux/io.h> 27 + #include <linux/tegra-ahb.h> 27 28 28 29 #define DRV_NAME "tegra-ahb" 29 30
+1 -2
drivers/iommu/tegra-smmu.c
··· 34 34 #include <linux/of_iommu.h> 35 35 #include <linux/debugfs.h> 36 36 #include <linux/seq_file.h> 37 + #include <linux/tegra-ahb.h> 37 38 38 39 #include <asm/page.h> 39 40 #include <asm/cacheflush.h> 40 - 41 - #include <mach/tegra-ahb.h> 42 41 43 42 enum smmu_hwgrp { 44 43 HWGRP_AFI,