summaryrefslogtreecommitdiff
path: root/include/linux/tegra-ahb.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-09-19 15:51:01 -0600
committerStephen Warren <swarren@nvidia.com>2012-11-05 11:36:06 -0700
commitcc95e347cbba3a29c6f8c95ec737624afe489d8e (patch)
tree53a4e5a5051b49d2e42a4a5a813ad1150df1e292 /include/linux/tegra-ahb.h
parenta25186eb03f1f89eacda559d39c14e3cf8ffae13 (diff)
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>
Diffstat (limited to 'include/linux/tegra-ahb.h')
-rw-r--r--include/linux/tegra-ahb.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/tegra-ahb.h b/include/linux/tegra-ahb.h
new file mode 100644
index 000000000000..f1cd075ceee1
--- /dev/null
+++ b/include/linux/tegra-ahb.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ */
+
+#ifndef __LINUX_AHB_H__
+#define __LINUX_AHB_H__
+
+extern int tegra_ahb_enable_smmu(struct device_node *ahb);
+
+#endif /* __LINUX_AHB_H__ */