diff options
author | Robert Marko <robert.marko@sartura.hr> | 2022-10-07 12:52:44 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-10-12 15:56:24 +0300 |
commit | ce1df11bf4ed029cedf7d6b6bbf429ca50cd8161 (patch) | |
tree | bb97a286aa4450509e4e588b07b9c5c1adf00d11 /drivers/smem/msm_smem.c | |
parent | 0b154c8e8c726c68a28847aaa93756f0612995dc (diff) | |
download | u-boot-ce1df11bf4ed029cedf7d6b6bbf429ca50cd8161.tar.xz |
smem: msm: add missing <linux/sizes.h>
MSM SMEM driver is currently missing <linux/sizes.h> 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 <robert.marko@sartura.hr>
Cc: luka.perkov@sartura.hr
Diffstat (limited to 'drivers/smem/msm_smem.c')
-rw-r--r-- | drivers/smem/msm_smem.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <linux/err.h> #include <linux/ioport.h> #include <linux/io.h> +#include <linux/sizes.h> #include <smem.h> DECLARE_GLOBAL_DATA_PTR; |