Commit 6fdb94bd authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Update dummy snd_power_wait() function for new calling convention



Apparently nobody had tried to compile the ALSA CVS tree without power
management enabled.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d6963615
...@@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card, unsigned int power_state); ...@@ -176,7 +176,7 @@ int snd_power_wait(struct snd_card *card, unsigned int power_state);
#define snd_power_lock(card) do { (void)(card); } while (0) #define snd_power_lock(card) do { (void)(card); } while (0)
#define snd_power_unlock(card) do { (void)(card); } while (0) #define snd_power_unlock(card) do { (void)(card); } while (0)
static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; } static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; }
#define snd_power_get_state(card) SNDRV_CTL_POWER_D0 #define snd_power_get_state(card) SNDRV_CTL_POWER_D0
#define snd_power_change_state(card, state) do { (void)(card); } while (0) #define snd_power_change_state(card, state) do { (void)(card); } while (0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment