rpmsg: smd: fix dependency on QCOM_SMD=n
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 Sep 2016 09:58:56 +0000 (11:58 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 12 Sep 2016 14:05:13 +0000 (07:05 -0700)
commit395317bbc200fbc164e65cc8ec31fa9d766aeaf1
tree54a918a61696354c55322a75f9562ef294f4a71b
parent53e2822e56c7bc67e5dc19acb1e5fbb8ebff8614
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: 53e2822e56c7 ("rpmsg: Introduce Qualcomm SMD backend")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/Kconfig