From: Stanimir Varbanov Date: Tue, 22 Nov 2016 17:02:17 +0000 (+0200) Subject: remoteproc: qcom: mdt_loader: add include for sizes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e67af182c286bb60d196c1a3001de873845ed731;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git remoteproc: qcom: mdt_loader: add include for sizes 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) Reviewed-by: Stephen Boyd Signed-off-by: Stanimir Varbanov Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_mdt_loader.c b/drivers/remoteproc/qcom_mdt_loader.c index 114e8e4cef67..2ff18cd6c096 100644 --- a/drivers/remoteproc/qcom_mdt_loader.c +++ b/drivers/remoteproc/qcom_mdt_loader.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "remoteproc_internal.h"