enable common clkdev

This commit is contained in:
黄涛
2010-04-23 09:53:52 +00:00
parent fca2f09cda
commit 673a8bce82
2 changed files with 15 additions and 0 deletions

View File

@@ -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

View File

@@ -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