Merge remote-tracking branch 'xen/upstream/xen'
[linux-2.6/next.git] / sound / usb / power.h
blob48ee51dcb71ed9311ea719c43b72625602f1d86c
1 #ifndef __USBAUDIO_POWER_H
2 #define __USBAUDIO_POWER_H
4 #ifdef CONFIG_PM
5 int snd_usb_autoresume(struct snd_usb_audio *chip);
6 void snd_usb_autosuspend(struct snd_usb_audio *chip);
7 #else
8 static inline int snd_usb_autoresume(struct snd_usb_audio *chip)
10 return 0;
12 static inline void snd_usb_autosuspend(struct snd_usb_audio *chip)
15 #endif
17 #endif /* __USBAUDIO_POWER_H */