nvethernet: bringup on kernel-5.4

disable chip-id.h APIs on kernel-5.4 since
the file is still not available.

Back compatible with older kernel versions

Bug 200591808

Change-Id: Ib991ad02ba016ac9f186b5c8afdc8608c780d9be
Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2304494
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Bibhay Ranjan
2020-02-28 14:27:07 +05:30
committed by Revanth Kumar Uppala
parent e42f49ee42
commit 619f3c7b7d
5 changed files with 65 additions and 21 deletions

View File

@@ -43,8 +43,8 @@
#include <linux/version.h>
#if (KERNEL_VERSION(5, 4, 0) > LINUX_VERSION_CODE)
#include <linux/tegra-ivc.h>
#endif
#include <soc/tegra/chip-id.h>
#endif
#include <osi_core.h>
#include <osi_dma.h>
#include <mmc.h>