mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
fsicom: Import dma buffer apis with namespace
fsicom driver uses the dma buffer which were exported as EXPORT_SYMBOL_GPL() till K5.15. From k5.16, it is exported with namespace i.e. EXPORT_SYMBOL_NS_GPL(). This change needs to import namespace in fsicom driver for K5.16 onwards. Add support for this. Change-Id: I11a2dbe871c36dd467041866dce51cc0936331c4 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2719735 Reviewed-by: Rahul Bedarkar <rabedarkar@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
32987b224a
commit
a88a06c213
@@ -11,6 +11,7 @@
|
||||
#include <linux/kdev_t.h>
|
||||
#include <linux/mailbox_client.h>
|
||||
#include <linux/sched/signal.h>
|
||||
#include <linux/version.h>
|
||||
#include <uapi/linux/tegra-fsicom.h>
|
||||
|
||||
|
||||
@@ -254,6 +255,10 @@ static struct platform_driver fsicom_client = {
|
||||
|
||||
module_platform_driver(fsicom_client);
|
||||
|
||||
#if LINUX_VERSION_CODE > KERNEL_VERSION(5, 15, 0)
|
||||
MODULE_IMPORT_NS(DMA_BUF);
|
||||
#endif
|
||||
|
||||
MODULE_DESCRIPTION("FSI-CCPLEX-COM driver");
|
||||
MODULE_AUTHOR("Prashant Shaw <pshaw@nvidia.com>");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
||||
Reference in New Issue
Block a user