Soumya Managoli | 35868f7 | 2018-02-23 12:49:24 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 2 | * |
| 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 Managoli | 35868f7 | 2018-02-23 12:49:24 +0530 | [diff] [blame] | 16 | #ifdef CONFIG_COMMON_CLK_QCOM |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 17 | int audio_ref_clk_platform_init(void); |
| 18 | void audio_ref_clk_platform_exit(void); |
Soumya Managoli | 35868f7 | 2018-02-23 12:49:24 +0530 | [diff] [blame] | 19 | #else |
| 20 | static inline int audio_ref_clk_platform_init(void) |
| 21 | { |
| 22 | return 0; |
| 23 | } |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 24 | |
Soumya Managoli | 35868f7 | 2018-02-23 12:49:24 +0530 | [diff] [blame] | 25 | static inline void audio_ref_clk_platform_exit(void) |
| 26 | { |
| 27 | } |
| 28 | |
| 29 | #endif /*CONFIG_COMMON_CLK_QCOM*/ |
Asish Bhattacharya | 8e2277f | 2017-07-20 18:31:55 +0530 | [diff] [blame] | 30 | #endif |