1.add rk_system_status.c, listen system status ,and prepare something for new status...
[firefly-linux-kernel-4.4.55.git] / include / linux / rockchip / common.h
index b61e522886fbe21c1063c00594d51f510d4a0f5d..abe824ecaa340f9c72b0fe5d0aeb73e3f695d8b0 100644 (file)
@@ -52,4 +52,10 @@ extern int rockchip_pm_set_policy(enum rockchip_pm_policy policy);
 extern int rockchip_pm_policy_register_notifier(struct notifier_block *nb);
 extern int rockchip_pm_policy_unregister_notifier(struct notifier_block *nb);
 
+extern int rockchip_register_system_status_notifier(struct notifier_block *nb);
+extern int rockchip_unregister_system_status_notifier(struct notifier_block *nb);
+extern int rockchip_set_system_status(unsigned long status);
+extern int rockchip_clear_system_status(unsigned long status);
+extern unsigned long rockchip_get_system_status(void);
+
 #endif