firmware: qcom_scm: Add dependent headers to qcom_scm.h
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 4 Dec 2017 17:18:46 +0000 (10:18 -0700)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Dec 2017 21:38:34 +0000 (15:38 -0600)
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>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
include/linux/qcom_scm.h

index 1fd27d6..b401b96 100644 (file)
@@ -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