blob: b2e25f60c5a27987d72d73db821b6fd2dc68007f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Oliver Neukum88a85162011-03-11 14:51:12 +01002#ifndef __USBAUDIO_POWER_H
3#define __USBAUDIO_POWER_H
4
5#ifdef CONFIG_PM
6int snd_usb_autoresume(struct snd_usb_audio *chip);
7void snd_usb_autosuspend(struct snd_usb_audio *chip);
8#else
9static inline int snd_usb_autoresume(struct snd_usb_audio *chip)
10{
11 return 0;
12}
13static inline void snd_usb_autosuspend(struct snd_usb_audio *chip)
14{
15}
16#endif
17
18#endif /* __USBAUDIO_POWER_H */