diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-07-17 10:56:49 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-26 12:14:31 +0200 |
commit | b8f9bdc151e4a61eaa385900e580aad1e68f094b (patch) | |
tree | e163ef6a4b98774a9597fbb3df71c543095a91bc /drivers/tee | |
parent | media: venus: mark PM functions as __maybe_unused (diff) | |
download | linux-b8f9bdc151e4a61eaa385900e580aad1e68f094b.tar.xz linux-b8f9bdc151e4a61eaa385900e580aad1e68f094b.zip |
media: venus: fix compile-test build on non-qcom ARM platform
If QCOM_MDT_LOADER is enabled, but ARCH_QCOM is not, we run into
a build error:
ERROR: "qcom_mdt_load" [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
ERROR: "qcom_mdt_get_size" [drivers/media/platform/qcom/venus/venus-core.ko] undefined!
This changes the 'select' statement again, so we only try to enable
those symbols when the drivers will actually get built, and explicitly
test for QCOM_MDT_LOADER to be enabled before calling into it.
Fixes: 76724b30f222 ("[media] media: venus: enable building with COMPILE_TEST")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/tee')
0 files changed, 0 insertions, 0 deletions