firmware: qcom_scm: Add dependent headers to qcom_scm.h
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.
Signed-off-by Jordan Crouse <[email protected]>
--- include/linux/qcom_scm.h | 3 +++ 1 file changed, 3 insertions(+)
include/linux/qcom_scm.h +3 -0
@@ -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
Quoted 5 lines · Jordan Crouse
qcom_scm.hmakes 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.Signed-off-by Jordan Crouse <[email protected]>
Acked-by Bjorn Andersson <[email protected]>
Regards,
Bjorn
Quoted 21 lines
--- include/linux/qcom_scm.h | 3 +++ 1 file changed, 3 insertions(+)include/linux/qcom_scm.h +3
-0@@ -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 0x1Signature · 1 line
1.9.1