From 22f3563ea5b94e3ecb5f1c5c5cd003119512f2d3 Mon Sep 17 00:00:00 2001 From: Bitan Biswas Date: Tue, 19 May 2020 13:47:28 -0700 Subject: [PATCH] nvidia: drivers: fix linux-5.7-rc5 build Fix build linux-5.7-rc5 errors including following: - change timespec to timespec64. replace getnstimeofday with ktime_get_ts64 - replace usage of macro FIELD_SIZEOF with sizeof_field in ethtool.c nvethernet and eqos files. - support 2 arguments for of_get_phy_mode call bug 200617764 Change-Id: I46067d7d36d08ee9556b2722e9ccec707b8853d4 Signed-off-by: Bitan Biswas Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2347244 Tested-by: mobile promotions Reviewed-by: mobile promotions --- drivers/misc/mods/mods_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mods/mods_irq.c b/drivers/misc/mods/mods_irq.c index 6b0aa763..65b05c96 100644 --- a/drivers/misc/mods/mods_irq.c +++ b/drivers/misc/mods/mods_irq.c @@ -503,7 +503,7 @@ static int add_irq_map(struct mods_client *client, if ((irq_type == MODS_IRQ_TYPE_INT) && (p->aperture_addr != 0) && (p->aperture_size != 0)) { - char *bar = ioremap_nocache(p->aperture_addr, p->aperture_size); + char *bar = ioremap(p->aperture_addr, p->aperture_size); if (!bar) { cl_debug(DEBUG_ISR,