diff options
| author | Arnd Bergmann <[email protected]> | 2017-03-13 16:36:25 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2017-03-20 21:45:44 +0000 |
| commit | c3104aae5d8cc443556f8613466e16737326e215 (patch) | |
| tree | 8071a249b4005f78eccbe0a13db167753b884492 /net/unix/af_unix.c | |
| parent | Linux 4.11-rc1 (diff) | |
| download | kernel-c3104aae5d8cc443556f8613466e16737326e215.tar.gz kernel-c3104aae5d8cc443556f8613466e16737326e215.zip | |
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: 4b48921a8f74 ("remoteproc: qcom: Use common SMD edge handler")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
