Commit cc95e347 authored by Stephen Warren's avatar Stephen Warren

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: default avatarStephen Warren <swarren@nvidia.com>
parent a25186eb
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/tegra-ahb.h>
#define DRV_NAME "tegra-ahb" #define DRV_NAME "tegra-ahb"
......
...@@ -34,12 +34,11 @@ ...@@ -34,12 +34,11 @@
#include <linux/of_iommu.h> #include <linux/of_iommu.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <linux/tegra-ahb.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <mach/tegra-ahb.h>
enum smmu_hwgrp { enum smmu_hwgrp {
HWGRP_AFI, HWGRP_AFI,
HWGRP_AVPC, HWGRP_AVPC,
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
* more details. * more details.
*/ */
#ifndef __MACH_TEGRA_AHB_H__ #ifndef __LINUX_AHB_H__
#define __MACH_TEGRA_AHB_H__ #define __LINUX_AHB_H__
extern int tegra_ahb_enable_smmu(struct device_node *ahb); extern int tegra_ahb_enable_smmu(struct device_node *ahb);
#endif /* __MACH_TEGRA_AHB_H__ */ #endif /* __LINUX_AHB_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment