diff options
author | Leo Chen <leochen@broadcom.com> | 2009-08-07 19:58:26 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-08-15 16:01:38 +0100 |
commit | 278a6752e869b0f4a03ce5ac0588b31b50712903 (patch) | |
tree | 622a4e4eae66aceb836cf3cb04056ef21b636da2 /arch/arm/mach-bcmring/include | |
parent | 4663712cc745324a216112a72c744bb2b8f6658b (diff) | |
download | op-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.h | 7 |
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 |