vmalloc: fix __GFP_HIGHMEM usage for vmalloc_32 on 32b systems
[linux/fpc-iii.git] / sound / usb / power.h
blobb2e25f60c5a27987d72d73db821b6fd2dc68007f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __USBAUDIO_POWER_H
3 #define __USBAUDIO_POWER_H
5 #ifdef CONFIG_PM
6 int snd_usb_autoresume(struct snd_usb_audio *chip);
7 void snd_usb_autosuspend(struct snd_usb_audio *chip);
8 #else
9 static inline int snd_usb_autoresume(struct snd_usb_audio *chip)
11 return 0;
13 static inline void snd_usb_autosuspend(struct snd_usb_audio *chip)
16 #endif
18 #endif /* __USBAUDIO_POWER_H */