summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_i915.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_i915.h')
-rw-r--r--sound/pci/hda/hda_i915.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_i915.h b/sound/pci/hda/hda_i915.h
index 5a63da2c53e..bfd835f8f1a 100644
--- a/sound/pci/hda/hda_i915.h
+++ b/sound/pci/hda/hda_i915.h
@@ -17,11 +17,11 @@
#define __SOUND_HDA_I915_H
#ifdef CONFIG_SND_HDA_I915
-void hda_display_power(bool enable);
+int hda_display_power(bool enable);
int hda_i915_init(void);
int hda_i915_exit(void);
#else
-static inline void hda_display_power(bool enable) {}
+static inline int hda_display_power(bool enable) { return 0; }
static inline int hda_i915_init(void)
{
return -ENODEV;