* [PATCH] firmware: qcom_scm: Add dependent headers to qcom_scm.h
@ 2017-12-04 17:18 Jordan Crouse
2017-12-05 6:09 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Jordan Crouse @ 2017-12-04 17:18 UTC (permalink / raw)
To: andy.gross, david.brown, bjorn.andersson; +Cc: linux-arm-msm
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(+)
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] firmware: qcom_scm: Add dependent headers to qcom_scm.h
2017-12-04 17:18 [PATCH] firmware: qcom_scm: Add dependent headers to qcom_scm.h Jordan Crouse
@ 2017-12-05 6:09 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2017-12-05 6:09 UTC (permalink / raw)
To: Jordan Crouse; +Cc: andy.gross, david.brown, linux-arm-msm
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-05 6:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-04 17:18 [PATCH] firmware: qcom_scm: Add dependent headers to qcom_scm.h Jordan Crouse
2017-12-05 6:09 ` Bjorn Andersson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.