From 673a8bce82f860ce5c181fa1d5439e40f01c6adb Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Fri, 23 Apr 2010 09:53:52 +0000 Subject: [PATCH] enable common clkdev --- arch/arm/Kconfig | 2 ++ arch/arm/mach-rk2818/include/mach/clkdev.h | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100755 arch/arm/mach-rk2818/include/mach/clkdev.h diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4c21765ecb71..ec57b095f1ee 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -705,6 +705,8 @@ config ARCH_RK2818 bool "Rockchip soc rk2818" select CPU_ARM926T select CPU_CP15_MMU + select HAVE_CLK + select COMMON_CLKDEV select GENERIC_TIME select GENERIC_CLOCKEVENTS help diff --git a/arch/arm/mach-rk2818/include/mach/clkdev.h b/arch/arm/mach-rk2818/include/mach/clkdev.h new file mode 100755 index 000000000000..730c49d1ebd8 --- /dev/null +++ b/arch/arm/mach-rk2818/include/mach/clkdev.h @@ -0,0 +1,13 @@ +#ifndef __MACH_CLKDEV_H +#define __MACH_CLKDEV_H + +static inline int __clk_get(struct clk *clk) +{ + return 1; +} + +static inline void __clk_put(struct clk *clk) +{ +} + +#endif -- 2.34.1