]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/remoteproc/qcom_wcnss.h
remoteproc: qcom_wcnss: Fix circular module dependency
authorBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 4 Nov 2016 02:37:25 +0000 (19:37 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Nov 2016 05:52:19 +0000 (21:52 -0800)
commit6de1a507c46bf22ed97043495b9ab96e4d5c213b
treeda576a02806bb50298542d61cbc73e2760737944
parentcda8529346935fc86f476999ac4fbfe4e17abf11
remoteproc: qcom_wcnss: Fix circular module dependency

The tie between the main WCNSS driver and the IRIS driver causes a
circular dependency between the two modules. Neither part makes sense to
have on their own so lets merge them into one module.

For the sake of picking up the clock and regulator resources described
in the iris of_node we need an associated struct device. But, to keep
the size of the patch down we continue to represent the IRIS part as its
own platform_driver, within the same module, rather than setting up a
dummy device.

Fixes: aed361adca9f ("remoteproc: qcom: Introduce WCNSS peripheral image loader")
Reported-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/Kconfig
drivers/remoteproc/Makefile
drivers/remoteproc/qcom_wcnss.c
drivers/remoteproc/qcom_wcnss.h
drivers/remoteproc/qcom_wcnss_iris.c