diff options
author | Niklas Cassel | 2018-06-29 19:01:01 +0200 |
---|---|---|
committer | Bjorn Andersson | 2018-07-01 23:32:21 -0700 |
commit | 67cd0eec5b62e0c6715d4ff5d43a80fa8edeee6a (patch) | |
tree | a6690d19ab6719561ee7d8e5dd5a80ad98cb1144 /drivers/rpmsg | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) |
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.c | 1 |
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> |