mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 09:42:19 +03:00
CONFIG_CAN_LEDS has been marked as BROKEN since Linux v4.19 and was finally removed in Linux v5.19. Only compile support for LEDS if enabled in the kernel. Long-term we need to move the MTTCAN driver to use LEDS_TRIGGER_NETDEV. This is a better solution for working with 3rd party Linux kernels that may backport upstream changes to the kernel and hence are not compatible with these existing version checks. Bug 4228080 Bug 4283911 Change-Id: I70e800c4a3699af59742d30111bc3a3cbf80bcb5 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2982135 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>