mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 02:32:08 +03:00
driver: Fix mods_bpmpipc build issue with kernel v6.2+
- Fix build issue with mods_bpmpipc Bug 3974855 Change-Id: I77c7f49b56f0eceea8e500dc8217e9ae76585f63 Signed-off-by: koenz <koenz@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2865209 Tested-by: Rohit Khanna <rokhanna@nvidia.com> Reviewed-by: Rohit Khanna <rokhanna@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -1040,9 +1040,7 @@ static int mods_krnl_close(struct inode *ip, struct file *fp)
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_TEGRA_IVC)
|
||||
#if (KERNEL_VERSION(6, 2, 0) > LINUX_VERSION_CODE)
|
||||
mods_bpmpipc_cleanup();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
mods_disable_all_devices(client);
|
||||
@@ -2744,13 +2742,11 @@ static long mods_krnl_ioctl(struct file *fp,
|
||||
break;
|
||||
|
||||
#ifdef CONFIG_TEGRA_IVC
|
||||
#if (KERNEL_VERSION(6, 2, 0) > LINUX_VERSION_CODE)
|
||||
case MODS_ESC_BPMP_UPHY_LANE_EOM_SCAN:
|
||||
MODS_IOCTL(MODS_ESC_BPMP_UPHY_LANE_EOM_SCAN,
|
||||
esc_mods_bpmp_uphy_lane_eom_scan,
|
||||
MODS_BPMP_UPHY_LANE_EOM_SCAN_PARAMS);
|
||||
break;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user