1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* pm_wakeirq.h - Device wakeirq helper functi 3 4 #ifndef _LINUX_PM_WAKEIRQ_H 5 #define _LINUX_PM_WAKEIRQ_H 6 7 #ifdef CONFIG_PM 8 9 extern int dev_pm_set_wake_irq(struct device * 10 extern int dev_pm_set_dedicated_wake_irq(struc 11 extern int dev_pm_set_dedicated_wake_irq_rever 12 extern void dev_pm_clear_wake_irq(struct devic 13 14 #else /* !CONFIG_PM */ 15 16 static inline int dev_pm_set_wake_irq(struct d 17 { 18 return 0; 19 } 20 21 static inline int dev_pm_set_dedicated_wake_ir 22 { 23 return 0; 24 } 25 26 static inline int dev_pm_set_dedicated_wake_ir 27 { 28 return 0; 29 } 30 31 static inline void dev_pm_clear_wake_irq(struc 32 { 33 } 34 35 #endif /* CONFIG_PM */ 36 #endif /* _LINUX_PM_WAKEIRQ_H */ 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.