aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index 2a0e2c7..da8a72a 100644
--- a/src/device.h
+++ b/src/device.h
@@ -60,5 +60,10 @@ struct wireguard_device {
int device_init(void);
void device_uninit(void);
+#if defined(CONFIG_PM_SLEEP)
+void device_wait_for_awake(void);
+#else
+static inline void device_wait_for_awake(void) { }
+#endif
#endif /* _WG_DEVICE_H */