]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/plat-nomadik/include/plat/mtu.h
ARM: 5786/1: Introduce plat-nomadik, MTU code re-organization
[karo-tx-linux.git] / arch / arm / plat-nomadik / include / plat / mtu.h
similarity index 90%
rename from arch/arm/mach-nomadik/include/mach/mtu.h
rename to arch/arm/plat-nomadik/include/plat/mtu.h
index 76da7f0853305f1f5d4046db426dcb144b0badc8..42c907258b14a04e34622d1ca99c638c5827631f 100644 (file)
@@ -1,5 +1,8 @@
-#ifndef __ASM_ARCH_MTU_H
-#define __ASM_ARCH_MTU_H
+#ifndef __PLAT_MTU_H
+#define __PLAT_MTU_H
+
+/* should be set by the platform code */
+extern void __iomem *mtu_base;
 
 /*
  * The MTU device hosts four different counters, with 4 set of
@@ -41,5 +44,5 @@
 #define MTU_PCELL2     0xff8
 #define MTU_PCELL3     0xffC
 
-#endif /* __ASM_ARCH_MTU_H */
+#endif /* __PLAT_MTU_H */