]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
soc: qcom: enable smsm/smp2p modular build
authorArnd Bergmann <arnd@arndb.de>
Fri, 20 Nov 2015 10:32:21 +0000 (11:32 +0100)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:55:06 +0000 (09:55 +0000)
commitd6276f7b9885895e5e03dc771338745cfbda7b02
tree0cd2e2befbea509efb45b738f68a9ad6a3fe86f6
parent3448f3acfad86c7ee6c1424ebefd3bdc35255eb9
soc: qcom: enable smsm/smp2p modular build

The newly added smp2p and smsm drivers cannot be loadable modules
but depend on smem, which can be, and that causes a link error:

drivers/built-in.o: In function `qcom_smp2p_intr':
:(.text+0xa6e68): undefined reference to `qcom_smem_get'
drivers/built-in.o: In function `qcom_smp2p_probe':
:(.text+0xa7320): undefined reference to `qcom_smem_alloc'
:(.text+0xa736c): undefined reference to `qcom_smem_get'
drivers/built-in.o: In function `qcom_smsm_probe':
:(.text+0xa7b34): undefined reference to `qcom_smem_get'

This marks all the drivers as 'tristate' to make the Kconfig
dependency resolution work properly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: dbb04bd7122f ("soc: qcom: smp2p: Qualcomm Shared Memory Point to Point")
Fixes: d7387fc6add4 ("soc: qcom: smsm: Add driver for Qualcomm SMSM")
Signed-off-by: Andy Gross <agross@codeaurora.org>
drivers/soc/qcom/Kconfig