From: Robert Marko Date: Fri, 7 Oct 2022 09:52:44 +0000 (+0200) Subject: smem: msm: add missing X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ce1df11bf4ed029cedf7d6b6bbf429ca50cd8161;p=u-boot.git smem: msm: add missing MSM SMEM driver is currently missing header and throws the following compile error: drivers/smem/msm_smem.c: In function ‘qcom_smem_get_ptable’: drivers/smem/msm_smem.c:635:71: error: ‘SZ_4K’ undeclared (first use in this function) 635 | ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; Signed-off-by: Robert Marko Cc: luka.perkov@sartura.hr --- diff --git a/drivers/smem/msm_smem.c b/drivers/smem/msm_smem.c index 6395b61b0d..17ee6c837c 100644 --- a/drivers/smem/msm_smem.c +++ b/drivers/smem/msm_smem.c @@ -18,6 +18,7 @@ #include #include #include +#include #include DECLARE_GLOBAL_DATA_PTR;