diff mbox series

[v7,02/22] soc: qcom: smd-rpm: Add QCOM_SMD_RPM_STATE_NUM

Message ID 20230526-topic-smd_icc-v7-2-09c78c175546@linaro.org
State Accepted
Commit cb0116090e4cff6da2e9abd1c29b8e16491af176
Headers show
Series Restructure RPM SMD ICC | expand

Commit Message

Konrad Dybcio June 19, 2023, 1:04 p.m. UTC
Add a preprocessor define to indicate the number of RPM contexts/states.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 include/linux/soc/qcom/smd-rpm.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/linux/soc/qcom/smd-rpm.h b/include/linux/soc/qcom/smd-rpm.h
index 2990f425fdef..e468f94fa323 100644
--- a/include/linux/soc/qcom/smd-rpm.h
+++ b/include/linux/soc/qcom/smd-rpm.h
@@ -6,6 +6,7 @@  struct qcom_smd_rpm;
 
 #define QCOM_SMD_RPM_ACTIVE_STATE        0
 #define QCOM_SMD_RPM_SLEEP_STATE         1
+#define QCOM_SMD_RPM_STATE_NUM		2
 
 /*
  * Constants used for addressing resources in the RPM.