aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.h')
-rw-r--r--src/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h
index f716242..cd62e9b 100644
--- a/src/device.h
+++ b/src/device.h
@@ -33,7 +33,9 @@ struct wireguard_device {
struct list_head peer_list;
struct mutex device_update_lock;
struct mutex socket_update_lock;
+#ifdef CONFIG_PM_SLEEP
struct notifier_block clear_peers_on_suspend;
+#endif
};
int device_init(void);