blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / arc / include / asm / clk.h
blobbf9d29f5bd53b4a497f480312ee6c91b506373a3
1 /*
2 * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
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 */
9 #ifndef _ASM_ARC_CLK_H
10 #define _ASM_ARC_CLK_H
12 /* Although we can't really hide core_freq, the accessor is still better way */
13 extern unsigned long core_freq;
15 static inline unsigned long arc_get_core_freq(void)
17 return core_freq;
20 extern int arc_set_core_freq(unsigned long);
22 #endif