Re: [PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes
From: Stephen Boyd
Date: Wed Nov 23 2016 - 17:48:25 EST
On 11/22, Stanimir Varbanov wrote:
> Add linux/sizes.h to prevent build failure on non ARM architectures
> as:
>
> CC [M] drivers/remoteproc/qcom_mdt_loader.o
> In file included from include/linux/cache.h:4:0,
> from include/linux/printk.h:8,
> from include/linux/kernel.h:13,
> from include/asm-generic/bug.h:13,
> from arch/x86/include/asm/bug.h:35,
> from include/linux/bug.h:4,
> from include/linux/thread_info.h:11,
> from arch/x86/include/asm/elf.h:7,
> from include/linux/elf.h:4,
> from drivers/remoteproc/qcom_mdt_loader.c:18:
> drivers/remoteproc/qcom_mdt_loader.c: In function âqcom_mdt_parseâ:
> drivers/remoteproc/qcom_mdt_loader.c:90:52: error: âSZ_4Kâ undeclared
> (first use in this function)
>
> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@xxxxxxxxxx>
> ---
Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project