Blame view

sound/usb/power.h 414 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
88a8516a2   Oliver Neukum   ALSA: usbaudio: i...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #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 */