From a6898e39686be9f560acb0550a5e0c6a9951d55e Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Tue, 5 Nov 2024 11:40:41 +0000 Subject: [PATCH] net: rtl8852ce: Don't build driver for Linux v6.10+ The rtl8852ce driver now builds fine for Linux v6.6 to v6.9 and so update the Makefile to only disable building the driver for Linux v6.10+ kernels. Bug 4667769 Change-Id: I0ff0e7a58e27d7252c3d3ae1a7e2878227a51644 Signed-off-by: Jon Hunter Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3243757 Reviewed-by: Shobek Attupurath GVS: buildbot_gerritrpt --- drivers/net/wireless/realtek/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/realtek/Makefile b/drivers/net/wireless/realtek/Makefile index 5f0c4917..af04cf38 100644 --- a/drivers/net/wireless/realtek/Makefile +++ b/drivers/net/wireless/realtek/Makefile @@ -2,7 +2,7 @@ # SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL)) -LINUX_VERSION_6_6 := $(shell expr 6 \* 256 + 6) +LINUX_VERSION_6_10 := $(shell expr 6 \* 256 + 10) ifndef CONFIG_TEGRA_SYSTEM_TYPE_ACK ifeq ($(shell expr \( $(VERSION) \) \* 10000 + \( $(PATCHLEVEL) \) \* 100 + \( $(SUBLEVEL) \) \<= 60500), 1) @@ -12,7 +12,7 @@ endif endif ifneq ($(NV_OOT_REALTEK_RTL8852CE_SKIP_BUILD),y) -ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_6); echo $$?),0) +ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_10); echo $$?),0) obj-m += rtl8852ce/ endif endif