]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arc/include/asm/clk.h
Merge branch 'for-next' of git://git.pengutronix.de/git/ukl/linux into devel-stable
[karo-tx-linux.git] / arch / arc / include / asm / clk.h
1 /*
2  * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8
9 #ifndef _ASM_ARC_CLK_H
10 #define _ASM_ARC_CLK_H
11
12 /* Although we can't really hide core_freq, the accessor is still better way */
13 extern unsigned long core_freq;
14
15 static inline unsigned long arc_get_core_freq(void)
16 {
17         return core_freq;
18 }
19
20 extern int arc_set_core_freq(unsigned long);
21
22 #endif