diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-07-08 15:42:51 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-07-08 17:05:50 +0300 |
commit | 93f1d3e4b59cf2e7ef31eaf1131480897b040e97 (patch) | |
tree | 64402f3a8da4b2f8193ae7641eb24033dbe87667 /Documentation/arm/sti/stih407-overview.rst | |
parent | f1d72c55d94e6ae2f612043f2117b6ad1c82e137 (diff) | |
download | linux-93f1d3e4b59cf2e7ef31eaf1131480897b040e97.tar.xz |
remoteproc: stm32: fix building without ARM SMCC
When compile testing this driver without SMCC support enabled,
we get a link error:
drivers/remoteproc/stm32_rproc.o: In function `stm32_rproc_start':
stm32_rproc.c:(.text+0x776): undefined reference to `__arm_smccc_smc'
drivers/remoteproc/stm32_rproc.o: In function `stm32_rproc_stop':
stm32_rproc.c:(.text+0x92c): undefined reference to `__arm_smccc_smc'
Make the actual call to arm_smccc_smc conditional on the Kconfig
symbol controlling its implementation.
Fixes: 13140de09cc2 ("remoteproc: stm32: add an ST stm32_rproc driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'Documentation/arm/sti/stih407-overview.rst')
0 files changed, 0 insertions, 0 deletions