summaryrefslogtreecommitdiff
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@linaro.org>2018-06-29 20:01:01 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-07-02 09:32:21 +0300
commit67cd0eec5b62e0c6715d4ff5d43a80fa8edeee6a (patch)
treea6690d19ab6719561ee7d8e5dd5a80ad98cb1144 /drivers/rpmsg
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
downloadlinux-67cd0eec5b62e0c6715d4ff5d43a80fa8edeee6a.tar.xz
rpmsg: smd: Add missing include of sizes.h
Add missing include of sizes.h. drivers/rpmsg/qcom_smd.c: In function ‘qcom_smd_channel_open’: drivers/rpmsg/qcom_smd.c:809:36: error: ‘SZ_4K’ undeclared (first use in this function) bb_size = min(channel->fifo_size, SZ_4K); ^~~~~ Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/qcom_smd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c
index 6437bbeebc91..8695cb041c31 100644
--- a/drivers/rpmsg/qcom_smd.c
+++ b/drivers/rpmsg/qcom_smd.c
@@ -14,6 +14,7 @@
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/sched.h>
+#include <linux/sizes.h>
#include <linux/slab.h>
#include <linux/soc/qcom/smem.h>
#include <linux/wait.h>