X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=include%2Flinux%2Freboot.h;h=a883888bec9f1ecda5306f7e930d01ed7533c9c4;hb=6fa3eb70c07b7ce2061fd6602159ac2d45a7dc3d;hp=23b36304cd881bb77bfb0ca092b0e4346b88d87d;hpb=a8d97b1bd0c91fbc1be54d068b5f051b4f70b4f7;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 23b36304cd88..a883888bec9f 100644 --- a/include/linux/reboot.h +++ b/include/linux/reboot.h @@ -10,6 +10,14 @@ #define SYS_HALT 0x0002 /* Notify of system halt */ #define SYS_POWER_OFF 0x0003 /* Notify of system power off */ +enum reboot_mode { + REBOOT_COLD = 0, + REBOOT_WARM, + REBOOT_HARD, + REBOOT_SOFT, + REBOOT_GPIO, +}; + extern int register_reboot_notifier(struct notifier_block *); extern int unregister_reboot_notifier(struct notifier_block *);