mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
mttcan: fix kernel compilation issue
fix compilation issue when building mttcan driver with 6.3-rc1 upstream kernel. Bug 4014315 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: I33c15af15fa8db1ac0cbb1c619db5429a6495a80 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2868425 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2884fc0a73
commit
72cf7c99c3
@@ -73,7 +73,11 @@ struct tegra_mttcan_soc_info {
|
||||
};
|
||||
|
||||
struct can_gpio {
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 0)
|
||||
int gpio;
|
||||
#else
|
||||
struct gpio_desc *gpio;
|
||||
#endif
|
||||
int active_low;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user