Add missing #include for types.h to have u32, etc. And fwd declare 'struct cpumask'. Signed-off-by: Rob Clark <robdclark@xxxxxxxxx> --- drivers/firmware/qcom_scm.c | 4 ++-- include/linux/qcom_scm.h | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c index 118df0a..39082c1 100644 --- a/drivers/firmware/qcom_scm.c +++ b/drivers/firmware/qcom_scm.c @@ -76,7 +76,7 @@ static void qcom_scm_clk_disable(void) * Set the cold boot address of the cpus. Any cpu outside the supported * range would be removed from the cpu present mask. */ -int qcom_scm_set_cold_boot_addr(void *entry, const cpumask_t *cpus) +int qcom_scm_set_cold_boot_addr(void *entry, const struct cpumask *cpus) { return __qcom_scm_set_cold_boot_addr(entry, cpus); } @@ -90,7 +90,7 @@ EXPORT_SYMBOL(qcom_scm_set_cold_boot_addr); * Set the Linux entry point for the SCM to transfer control to when coming * out of a power down. CPU power down may be executed on cpuidle or hotplug. */ -int qcom_scm_set_warm_boot_addr(void *entry, const cpumask_t *cpus) +int qcom_scm_set_warm_boot_addr(void *entry, const struct cpumask *cpus) { return __qcom_scm_set_warm_boot_addr(entry, cpus); } diff --git a/include/linux/qcom_scm.h b/include/linux/qcom_scm.h index 46d41e4..c536b70 100644 --- a/include/linux/qcom_scm.h +++ b/include/linux/qcom_scm.h @@ -13,8 +13,11 @@ #ifndef __QCOM_SCM_H #define __QCOM_SCM_H -extern int qcom_scm_set_cold_boot_addr(void *entry, const cpumask_t *cpus); -extern int qcom_scm_set_warm_boot_addr(void *entry, const cpumask_t *cpus); +#include <linux/types.h> + +struct cpumask; +extern int qcom_scm_set_cold_boot_addr(void *entry, const struct cpumask *cpus); +extern int qcom_scm_set_warm_boot_addr(void *entry, const struct cpumask *cpus); #define QCOM_SCM_HDCP_MAX_REQ_CNT 5 -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html