ASoC: Ensure we get an impedence reported for WM8958 jack detect
[firefly-linux-kernel-4.4.55.git] / include / linux / reboot.h
index 3005d5a7fce552cd9ab3cbc5640f16b281b61c17..e0879a70e830e29847cc9ba9b9f4d6851d8e3c4d 100644 (file)
 
 #include <linux/notifier.h>
 
+#define SYS_DOWN       0x0001  /* Notify of system down */
+#define SYS_RESTART    SYS_DOWN
+#define SYS_HALT       0x0002  /* Notify of system halt */
+#define SYS_POWER_OFF  0x0003  /* Notify of system power off */
+
 extern int register_reboot_notifier(struct notifier_block *);
 extern int unregister_reboot_notifier(struct notifier_block *);