https://github.com/torvalds/linux
Raw File
Tip revision: 14ccee78fc82f5512908f4424f541549a5705b89 authored by Linus Torvalds on 20 August 2017, 21:13:52 UTC
Linux 4.13-rc6
Tip revision: 14ccee7
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