Skip to contentSkip to conversation

firmware: qcom_scm: Add dependent headers to qcom_scm.h

PATCH In review Jordan Crouse 2 participants 2 messages Dec 4, 2017 – Dec 5, 2017 Arm Qualcomm mailing list

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 firmware: qcom_scm: Add dependent headers to qcom_scm.h

qcom_scm.h makes heavy use of <linux/types.h> and <linux/cpumask.h>. Add the dependent header files so that users of SCM don't need to include header files they don't otherwise use.

---
 include/linux/qcom_scm.h | 3 +++
 1 file changed, 3 insertions(+)
include/linux/qcom_scm.h +3 -0
index 1fd27d6..b401b96 100644
@@ -13,6 +13,9 @@
 #ifndef __QCOM_SCM_H
 #define __QCOM_SCM_H
 
+#include <linux/types.h>
+#include <linux/cpumask.h>
+
 #define QCOM_SCM_VERSION(major, minor)	(((major) << 16) | ((minor) & 0xFF))
 #define QCOM_SCM_CPU_PWR_DOWN_L2_ON	0x0
 #define QCOM_SCM_CPU_PWR_DOWN_L2_OFF	0x1
Signature · 1 line
1.9.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Jordan Crouse

qcom_scm.h makes heavy use of <linux/types.h> and <linux/cpumask.h>. Add the dependent header files so that users of SCM don't need to include header files they don't otherwise use.

Regards,
Bjorn

Quoted 21 lines
---
 include/linux/qcom_scm.h | 3 +++
 1 file changed, 3 insertions(+)
include/linux/qcom_scm.h +3 -0
index 1fd27d6..b401b96 100644
@@ -13,6 +13,9 @@
 #ifndef __QCOM_SCM_H
 #define __QCOM_SCM_H
 
+#include <linux/types.h>
+#include <linux/cpumask.h>
+
 #define QCOM_SCM_VERSION(major, minor)	(((major) << 16) | ((minor) & 0xFF))
 #define QCOM_SCM_CPU_PWR_DOWN_L2_ON	0x0
 #define QCOM_SCM_CPU_PWR_DOWN_L2_OFF	0x1
Signature · 1 line
1.9.1