]> git.dujemihanovic.xyz Git - u-boot.git/commit
smem: msm: add missing <linux/sizes.h>
authorRobert Marko <robert.marko@sartura.hr>
Fri, 7 Oct 2022 09:52:44 +0000 (11:52 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 12 Oct 2022 12:56:24 +0000 (08:56 -0400)
commitce1df11bf4ed029cedf7d6b6bbf429ca50cd8161
treebb97a286aa4450509e4e588b07b9c5c1adf00d11
parent0b154c8e8c726c68a28847aaa93756f0612995dc
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
drivers/smem/msm_smem.c