rpmsg: glink: add include of header file
authorAlex Elder <elder@linaro.org>
Tue, 5 Jan 2021 23:55:28 +0000 (17:55 -0600)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 6 Jan 2021 04:22:40 +0000 (22:22 -0600)
With an x86_64 architecture W=1 build, qcom_glink_ssr_notify() is
reported as having no previous prototype.  The prototype is found in
"qcom_glink.h", so we just need "qcom_glink_ssr.c" to include that
file.

Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20210105235528.32538-1-elder@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/qcom_glink_ssr.c

index 1fc2bf5354f50f65568d60129aa078b1f5529202..dea929c6045d612567aed049f8cef60cf8af1450 100644 (file)
@@ -8,6 +8,7 @@
 #include <linux/module.h>
 #include <linux/notifier.h>
 #include <linux/rpmsg.h>
+#include <linux/rpmsg/qcom_glink.h>
 #include <linux/remoteproc/qcom_rproc.h>
 
 /**