msm: camera: common: Import dma-buf heap name space

Due to dma-buf symbols into the dma_buf module namespace,
when use them, need to import dma-buf name space.

CRs-Fixed: 3245719
Change-Id: I57bb808c675105bf567f7a628fb88c3259512721
Signed-off-by: zhuo <quic_zhuo@quicinc.com>
This commit is contained in:
zhuo
2022-07-15 18:07:46 +08:00
zatwierdzone przez Camera Software Integration
rodzic 984c6208d6
commit 345cf9f62c

Wyświetl plik

@@ -32,6 +32,10 @@
#include <linux/qcom-dma-mapping.h>
#endif
#if KERNEL_VERSION(5, 18, 0) <= LINUX_VERSION_CODE
MODULE_IMPORT_NS(DMA_BUF);
#endif
struct cam_fw_alloc_info {
struct device *fw_dev;
void *fw_kva;