blob: 93d58c6854ce336c54e7663046e27ffbba2446ea [file] [log] [blame]
Soumya Managoli35868f72018-02-23 12:49:24 +05301/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +05302 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef __AUDIO_EXT_CLK_UP_H_
14#define __AUDIO_EXT_CLK_UP_H_
15
Soumya Managoli35868f72018-02-23 12:49:24 +053016#ifdef CONFIG_COMMON_CLK_QCOM
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053017int audio_ref_clk_platform_init(void);
18void audio_ref_clk_platform_exit(void);
Soumya Managoli35868f72018-02-23 12:49:24 +053019#else
20static inline int audio_ref_clk_platform_init(void)
21{
22 return 0;
23}
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053024
Soumya Managoli35868f72018-02-23 12:49:24 +053025static inline void audio_ref_clk_platform_exit(void)
26{
27}
28
29#endif /*CONFIG_COMMON_CLK_QCOM*/
Asish Bhattacharya8e2277f2017-07-20 18:31:55 +053030#endif