]>
Commit | Line | Data |
---|---|---|
99a2008d WX |
1 | /* |
2 | * This program is free software; you can redistribute it and/or modify it | |
3 | * under the terms of the GNU General Public License as published by the Free | |
4 | * Software Foundation; either version 2 of the License, or (at your option) | |
5 | * any later version. | |
6 | * | |
7 | * This program is distributed in the hope that it will be useful, but WITHOUT | |
8 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
9 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
10 | * more details. | |
11 | * | |
12 | * You should have received a copy of the GNU General Public License along with | |
13 | * this program; if not, write to the Free Software Foundation, Inc., 59 | |
14 | * Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
15 | */ | |
16 | #ifndef __SOUND_HDA_I915_H | |
17 | #define __SOUND_HDA_I915_H | |
18 | ||
19 | #ifdef CONFIG_SND_HDA_I915 | |
74b0c2d7 | 20 | int hda_display_power(bool enable); |
e4d9e513 | 21 | void haswell_set_bclk(struct azx *chip); |
99a2008d WX |
22 | int hda_i915_init(void); |
23 | int hda_i915_exit(void); | |
24 | #else | |
74b0c2d7 | 25 | static inline int hda_display_power(bool enable) { return 0; } |
e4d9e513 | 26 | static inline void haswell_set_bclk(struct azx *chip) { return; } |
99a2008d WX |
27 | static inline int hda_i915_init(void) |
28 | { | |
29 | return -ENODEV; | |
30 | } | |
31 | static inline int hda_i915_exit(void) | |
32 | { | |
33 | return 0; | |
34 | } | |
35 | #endif | |
36 | ||
37 | #endif |