Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Linus Torvalds <torvalds@osdl.org>

+1 -1
+1 -1
include/sound/core.h
··· 176 176 177 177 #define snd_power_lock(card) do { (void)(card); } while (0) 178 178 #define snd_power_unlock(card) do { (void)(card); } while (0) 179 - static inline int snd_power_wait(struct snd_card *card, unsigned int state, struct file *file) { return 0; } 179 + static inline int snd_power_wait(struct snd_card *card, unsigned int state) { return 0; } 180 180 #define snd_power_get_state(card) SNDRV_CTL_POWER_D0 181 181 #define snd_power_change_state(card, state) do { (void)(card); } while (0) 182 182