aboutsummaryrefslogtreecommitdiffstats
path: root/include/pwr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pwr.h')
-rw-r--r--include/pwr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pwr.h b/include/pwr.h
index 92be615..48b219a 100644
--- a/include/pwr.h
+++ b/include/pwr.h
@@ -22,6 +22,8 @@
#ifndef __PWR_H__
#define __PWR_H__
+#define IPC_PWR_R(f) (f & 0xff)
+
#define IPC_PWR_PHONE_PWR_UP 0x0101
#define IPC_PWR_PHONE_PWR_OFF 0x0102
#define IPC_PWR_PHONE_RESET 0x0103