2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/rpmsg
Arnd Bergmann 395317bbc2 rpmsg: smd: fix dependency on QCOM_SMD=n
The ARM allmodconfig build broke with the addition of the SMD rpmsg
driver that conflicts with the driver its replaces:

WARNING: drivers/soc/qcom/smd: 'qcom_smd_register_edge' exported twice. Previous export was in drivers/rpmsg/qcom_smd.ko
WARNING: drivers/soc/qcom/smd: 'qcom_smd_unregister_edge' exported twice. Previous export was in drivers/rpmsg/qcom_smd.ko

There is already a dependency that is meant to avoid the broken
configuration, but that only prevents the case where at least
one of the two are built-in, but not if both are modules.

This changes the dependency to "=n", to ensure that the new driver
can only be enabled if the other one is completely disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 53e2822e56 ("rpmsg: Introduce Qualcomm SMD backend")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2016-09-12 07:05:13 -07:00
..
Kconfig rpmsg: smd: fix dependency on QCOM_SMD=n 2016-09-12 07:05:13 -07:00
Makefile rpmsg: Introduce Qualcomm SMD backend 2016-09-08 22:15:26 -07:00
qcom_smd.c rpmsg: Introduce Qualcomm SMD backend 2016-09-08 22:15:26 -07:00
rpmsg_core.c rpmsg: Hide rpmsg indirection tables 2016-09-08 22:15:24 -07:00
rpmsg_internal.h rpmsg: Hide rpmsg indirection tables 2016-09-08 22:15:24 -07:00
virtio_rpmsg_bus.c rpmsg: Allow callback to return errors 2016-09-08 22:15:25 -07:00