summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcmring/include
diff options
context:
space:
mode:
authorLeo Chen <leochen@broadcom.com>2009-08-07 19:58:26 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-15 16:01:38 +0100
commit278a6752e869b0f4a03ce5ac0588b31b50712903 (patch)
tree622a4e4eae66aceb836cf3cb04056ef21b636da2 /arch/arm/mach-bcmring/include
parent4663712cc745324a216112a72c744bb2b8f6658b (diff)
downloadop-kernel-dev-278a6752e869b0f4a03ce5ac0588b31b50712903.zip
op-kernel-dev-278a6752e869b0f4a03ce5ac0588b31b50712903.tar.gz
ARM: 5644/1: add bcmring core.c, clock.c, clock.h
add core.c, clock.c, and clock.h in mach-bcmring implement timer init, clocksource init, amba device init implement clock set/get enable/disable API add dummy clkdev.h Signed-off-by: Leo Chen <leochen@broadcom.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-bcmring/include')
-rw-r--r--arch/arm/mach-bcmring/include/mach/clkdev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-bcmring/include/mach/clkdev.h b/arch/arm/mach-bcmring/include/mach/clkdev.h
new file mode 100644
index 0000000..04b37a8
--- /dev/null
+++ b/arch/arm/mach-bcmring/include/mach/clkdev.h
@@ -0,0 +1,7 @@
+#ifndef __ASM_MACH_CLKDEV_H
+#define __ASM_MACH_CLKDEV_H
+
+#define __clk_get(clk) ({ 1; })
+#define __clk_put(clk) do { } while (0)
+
+#endif
OpenPOWER on IntegriCloud