[PATCH v5 1/6] soc: qcom: smem: Add missing include of sizes.h

From: Niklas Cassel
Date: Mon Aug 27 2018 - 07:36:35 EST


Add missing include of sizes.h.

drivers/soc/qcom/smem.c: In function âqcom_smem_get_ptableâ:
drivers/soc/qcom/smem.c:666:64: error: âSZ_4Kâ undeclared
ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K;
^~~~~

Signed-off-by: Niklas Cassel <niklas.cassel@xxxxxxxxxx>
Reviewed-by: Vivek Gautam <vivek.gautam@xxxxxxxxxxxxxx>
Reviewed-by: Vinod Koul <vkoul@xxxxxxxxxx>
---
drivers/soc/qcom/smem.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c
index bf4bd71ab53f..b77573eed596 100644
--- a/drivers/soc/qcom/smem.c
+++ b/drivers/soc/qcom/smem.c
@@ -18,6 +18,7 @@
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/platform_device.h>
+#include <linux/sizes.h>
#include <linux/slab.h>
#include <linux/soc/qcom/smem.h>

--
2.17.1