Linux 3.11-rc3
[cris-mirror.git] / sound / pci / hda / hda_i915.h
blob5a63da2c53e5d0c9ec3efcb7e82e9e58ffa12bde
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.
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.
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.
16 #ifndef __SOUND_HDA_I915_H
17 #define __SOUND_HDA_I915_H
19 #ifdef CONFIG_SND_HDA_I915
20 void hda_display_power(bool enable);
21 int hda_i915_init(void);
22 int hda_i915_exit(void);
23 #else
24 static inline void hda_display_power(bool enable) {}
25 static inline int hda_i915_init(void)
27 return -ENODEV;
29 static inline int hda_i915_exit(void)
31 return 0;
33 #endif
35 #endif