disp: msm: import DMA_BUF module symbols

This change imports the necessary DMA_BUF symbols from the module
as they are now contained within the module namespace.

Link: https://patchwork.kernel.org/project/dri-devel/patch/YU8oVDFoeD5YYeDT@kroah.com/#24477195

Change-Id: I18a0a812567425d55fedbab67f7a42d3f54351ca
Signed-off-by: GG Hou <quic_renjhou@quicinc.com>
Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
此提交包含在:
GG Hou
2022-07-28 13:47:59 +08:00
提交者 Prabhanjan Kandula
父節點 e567bba0d5
當前提交 5624dc5b2e
共有 7 個檔案被更改,包括 35 行新增0 行删除

查看文件

@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2012, 2015-2019, 2021, The Linux Foundation. All rights reserved.
*/
#define pr_fmt(fmt) "%s: " fmt, __func__
@@ -20,6 +21,7 @@
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include <media/msm_media_info.h>
#include <linux/videodev2.h>
#include <linux/ion.h>
@@ -1226,3 +1228,7 @@ struct dma_buf *sde_rot_get_dmabuf(struct sde_mdp_img_data *data)
return dma_buf_export(&exp_info);
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 0))
MODULE_IMPORT_NS(DMA_BUF);
#endif