summaryrefslogtreecommitdiff
path: root/include/soc/sprd/cpuidle.h
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
committerYuval Adam <_@yuv.al>2017-08-30 08:25:59 +0000
commit8e4bff4cab0ddac6060645b0715210484d02ff40 (patch)
tree3a5c3024371a04692a3a6d9974d001cdff8ebf84 /include/soc/sprd/cpuidle.h
Initial file dump from open source releaseHEADmaster
Diffstat (limited to 'include/soc/sprd/cpuidle.h')
-rwxr-xr-xinclude/soc/sprd/cpuidle.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/soc/sprd/cpuidle.h b/include/soc/sprd/cpuidle.h
new file mode 100755
index 00000000..609d4128
--- /dev/null
+++ b/include/soc/sprd/cpuidle.h
@@ -0,0 +1,10 @@
+#ifndef _MACH_SC_CPUIDLE_H
+#define _MACH_SC_CPUIDLE_H
+
+/* cpuidle events */
+#define SC_CPUIDLE_PREPARE 0x01 /* Going to light sleep status */
+
+extern int register_sc_cpuidle_notifier(struct notifier_block *nb);
+extern int unregister_sc_cpuidle_notifier(struct notifier_block *nb);
+
+#endif