]> Git Repo - linux.git/blobdiff - sound/pci/hda/hda_local.h
ALSA: hda - Add power on/off counter
[linux.git] / sound / pci / hda / hda_local.h
index 461e0c15c77ab38cc351f062962cb632ef0a50ad..015fbac914b3dc03b71c0991fd9177993edcd3c8 100644 (file)
@@ -437,6 +437,15 @@ int snd_hda_create_hwdep(struct hda_codec *codec);
 static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; }
 #endif
 
+#ifdef CONFIG_SND_HDA_POWER_SAVE
+int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec);
+#else
+static inline int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec)
+{
+       return 0;
+}
+#endif
+
 #ifdef CONFIG_SND_HDA_RECONFIG
 int snd_hda_hwdep_add_sysfs(struct hda_codec *codec);
 #else
This page took 0.029758 seconds and 4 git commands to generate.