linux/drivers/remoteproc
Arnd Bergmann c3104aae5d remoteproc: qcom: fix QCOM_SMD dependencies
qcom_smd_register_edge() is provided by either QCOM_SMD or RPMSG_QCOM_SMD,
and if both of them are disabled, it does nothing.

The check for the PIL drivers however only checks for QCOM_SMD, so it breaks
with QCOM_SMD=n && RPMSG_QCOM_SMD=m:

drivers/remoteproc/built-in.o: In function `smd_subdev_remove':
qcom_wcnss_iris.c:(.text+0x231c): undefined reference to `qcom_smd_unregister_edge'
drivers/remoteproc/built-in.o: In function `smd_subdev_probe':
qcom_wcnss_iris.c:(.text+0x2344): undefined reference to `qcom_smd_register_edge'
drivers/remoteproc/built-in.o: In function `smd_subdev_probe':
qcom_q6v5_pil.c:(.text+0x3538): undefined reference to `qcom_smd_register_edge'
qcom_q6v5_pil.c:(.text+0x3538): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `qcom_smd_register_edge'

This clarifies the Kconfig dependency.

Fixes: 4b48921a8f ("remoteproc: qcom: Use common SMD edge handler")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-03-20 14:45:44 -07:00
..
Kconfig remoteproc: qcom: fix QCOM_SMD dependencies 2017-03-20 14:45:44 -07:00
Makefile remoteproc: Move qcom_mdt_loader into drivers/soc/qcom 2017-02-06 08:57:25 -08:00
da8xx_remoteproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00
omap_remoteproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
qcom_adsp_pil.c remoteproc: Drop qcom_scm_pas_supported() from adsp_probe() 2017-02-06 12:45:21 -08:00
qcom_common.c remoteproc: qcom: wcnss: Make SMD handling common 2017-02-06 08:57:25 -08:00
qcom_common.h remoteproc: qcom: wcnss: Make SMD handling common 2017-02-06 08:57:25 -08:00
qcom_q6v5_pil.c remoteproc: qcom: mdt_loader: Use signed type for offset 2017-02-22 02:07:13 -08:00
qcom_wcnss.c remoteproc: qcom: wcnss: Make SMD handling common 2017-02-06 08:57:25 -08:00
qcom_wcnss.h remoteproc: qcom_wcnss: Fix circular module dependency 2016-11-14 21:52:19 -08:00
qcom_wcnss_iris.c remoteproc: qcom_wcnss: Fix circular module dependency 2016-11-14 21:52:19 -08:00
remoteproc_core.c remoteproc: Modify the function names 2017-02-06 13:06:13 -08:00
remoteproc_debugfs.c remoteproc: debugfs: Remove state entry which is duplicated is sysfs 2016-10-31 17:24:48 -07:00
remoteproc_elf_loader.c remoteproc: align code with open parenthesis 2016-08-12 21:27:49 -07:00
remoteproc_internal.h remoteproc: Assign kref to rproc_vdev 2016-11-14 21:52:15 -08:00
remoteproc_sysfs.c remoteproc: Add RPROC_DELETED state 2017-01-30 14:18:52 -08:00
remoteproc_virtio.c virtio: allow drivers to request IRQ affinity when creating VQs 2017-02-27 20:54:04 +02:00
st_remoteproc.c remoteproc: st: add virtio communication support 2017-02-06 13:10:12 -08:00
st_slim_rproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00
wkup_m3_rproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00