aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2015-12-03 15:31:23 +0100
committerTakashi Iwai <tiwai@suse.de>2015-12-03 15:35:11 +0100
commitbfb6f8d508f45aeaae0177e2443456ad462fe218 (patch)
tree35904601b98277175ff15257599fbd18cb7ff4d2
parentc6deb07bf7f89c72bb5fbeef799b9afc6e4b236f (diff)
downloadhda-emu-bfb6f8d508f45aeaae0177e2443456ad462fe218.tar.gz
hda-emu: Add snd_power_get_state
Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index e556765..1196319 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -113,6 +113,8 @@ int snd_card_register(struct snd_card *card)
return 0;
}
+#define snd_power_get_state(card) ({ (void)(card); SNDRV_CTL_POWER_D0; })
+
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/pci.h>