diff mbox

firmware: qcom_scm: Add dependent headers to qcom_scm.h

Message ID 1512407926-24639-1-git-send-email-jcrouse@codeaurora.org (mailing list archive)
State Accepted
Delegated to: Andy Gross
Headers show

Commit Message

Jordan Crouse Dec. 4, 2017, 5:18 p.m. UTC
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 <jcrouse@codeaurora.org>
---
 include/linux/qcom_scm.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Bjorn Andersson Dec. 5, 2017, 6:09 a.m. UTC | #1
On Mon 04 Dec 09:18 PST 2017, Jordan Crouse wrote:

> 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 <jcrouse@codeaurora.org>

Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> ---
>  include/linux/qcom_scm.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
> index 1fd27d6..b401b96 100644
> --- a/include/linux/qcom_scm.h
> +++ b/include/linux/qcom_scm.h
> @@ -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
> -- 
> 1.9.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h
index 1fd27d6..b401b96 100644
--- a/include/linux/qcom_scm.h
+++ b/include/linux/qcom_scm.h
@@ -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