soc: qcom: glink_ssr: Internalize ssr_notifiers
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 23 Apr 2020 00:37:34 +0000 (17:37 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 7 May 2020 18:04:18 +0000 (11:04 -0700)
commit5d1f2e3c8090c0769ee4a1b920e82277613327fc
tree43e1eb46291e6d8c240c4e7dbaf5e5da8efb7e43
parentcd9fc8f1b35bd75e0d33470a01baff2848a9443a
soc: qcom: glink_ssr: Internalize ssr_notifiers

Rather than carrying a special purpose blocking notifier for glink_ssr
in remoteproc's qcom_common.c, move it into glink_ssr so allow wider
reuse of the common one.

The rpmsg glink header file is used in preparation for the next patch.

Acked-by: Chris Lew <clew@codeaurora.org>
Acked-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Link: https://lore.kernel.org/r/20200423003736.2027371-3-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/qcom_common.c
drivers/soc/qcom/glink_ssr.c
include/linux/rpmsg/qcom_glink.h