Skip to content
Commit ce1df11b authored by Robert Marko's avatar Robert Marko Committed by Tom Rini
Browse files

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: default avatarRobert Marko <robert.marko@sartura.hr>
Cc: luka.perkov@sartura.hr
parent 0b154c8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment