https://github.com/torvalds/linux
Raw File
Tip revision: 32b88194f71d6ae7768a29f87fbba454728273ee authored by Linus Torvalds on 25 October 2015, 01:39:47 UTC
Linux 4.3-rc7
Tip revision: 32b8819
power.h
#ifndef __USBAUDIO_POWER_H
#define __USBAUDIO_POWER_H

#ifdef CONFIG_PM
int snd_usb_autoresume(struct snd_usb_audio *chip);
void snd_usb_autosuspend(struct snd_usb_audio *chip);
#else
static inline int snd_usb_autoresume(struct snd_usb_audio *chip)
{
	return 0;
}
static inline void snd_usb_autosuspend(struct snd_usb_audio *chip)
{
}
#endif

#endif /* __USBAUDIO_POWER_H */
back to top