mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 13:45:13 +07:00
18 lines
375 B
C
18 lines
375 B
C
|
#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 */
|