Skip to content

Commit

Permalink
Update dummy snd_power_wait() function for new calling convention
Browse files Browse the repository at this point in the history
Apparently nobody had tried to compile the ALSA CVS tree without power
management enabled.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Linus Torvalds committed Apr 2, 2006
1 parent d696361 commit 6fdb94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sound/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_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_change_state(card, state) do { (void)(card); } while (0)

Expand Down

0 comments on commit 6fdb94b

Please sign in to comment.