mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
enable common clkdev
This commit is contained in:
@@ -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
|
||||
|
||||
13
arch/arm/mach-rk2818/include/mach/clkdev.h
Executable file
13
arch/arm/mach-rk2818/include/mach/clkdev.h
Executable 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
|
||||
Reference in New Issue
Block a user