mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
When build-testined with CONFIG_QCOM_MDT_LOADER=m and VIDEO_QCOM_VENUS=y,
the kernel fails to link:
x86_64-linux-ld: drivers/media/platform/qcom/venus/firmware.o: in function `venus_boot':
firmware.c:(.text+0x1e3): undefined reference to `qcom_mdt_get_size'
firmware.c:(.text+0x25a): undefined reference to `qcom_mdt_load'
firmware.c:(.text+0x272): undefined reference to `qcom_mdt_load_no_init'
The problem is the conditional 'select' statement. Change this to
make the driver built-in here regardless of CONFIG_ARCH_QCOM,
same as for the similar IRIS driver.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| core.c | ||
| core.h | ||
| dbgfs.c | ||
| dbgfs.h | ||
| firmware.c | ||
| firmware.h | ||
| helpers.c | ||
| helpers.h | ||
| hfi_cmds.c | ||
| hfi_cmds.h | ||
| hfi_helper.h | ||
| hfi_msgs.c | ||
| hfi_msgs.h | ||
| hfi_parser.c | ||
| hfi_parser.h | ||
| hfi_plat_bufs_v6.c | ||
| hfi_plat_bufs.h | ||
| hfi_platform_v4.c | ||
| hfi_platform_v6.c | ||
| hfi_platform.c | ||
| hfi_platform.h | ||
| hfi_venus_io.h | ||
| hfi_venus.c | ||
| hfi_venus.h | ||
| hfi.c | ||
| hfi.h | ||
| Kconfig | ||
| Makefile | ||
| pm_helpers.c | ||
| pm_helpers.h | ||
| vdec_ctrls.c | ||
| vdec.c | ||
| vdec.h | ||
| venc_ctrls.c | ||
| venc.c | ||
| venc.h | ||