net: can: mtt: Enable building MTTCAN for Linux v6.0+

Building the MTTCAN driver is now fixed for Linux v6.0+ and so
re-enable building this driver for these kernels.

Bug 3831575
Bug 3767126

Change-Id: I43f584c5422090e393d4eb75dd8241f0111a67f5
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2797614
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Jon Hunter
2022-10-25 14:16:04 +01:00
committed by mobile promotions
parent ded768ff77
commit 55f261f5b8

View File

@@ -3,6 +3,4 @@
obj-m += ethernet/
obj-m += tegra_hv_net.o
ifeq ($(shell test $$VERSION -lt 6; echo $$?),0)
obj-m += can/
endif