From e290576b474272b77453da53f9335e0bc2960921 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 13 Dec 2023 14:11:06 +0000 Subject: [PATCH] Makefile: Remove CONFIG_TEGRA_GPIO_LEGACY_DISABLE Remove config CONFIG_TEGRA_GPIO_LEGACY_DISABLE which was added to avoid the build of few modules due to API changes in core kernel from Linux 6.2. ALl modules drivers are updated to support the Linux 6.2 and above. Bug 4346767 Change-Id: I81c56eda77bfb42f56f01216c721f410dac39d77 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3031555 Tested-by: mobile promotions Reviewed-by: mobile promotions --- Makefile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Makefile b/Makefile index 1521ddb9..089ea2b2 100644 --- a/Makefile +++ b/Makefile @@ -7,15 +7,6 @@ LINUXINCLUDE += -I$(srctree.nvidia-oot)/include subdir-ccflags-y += -Werror subdir-ccflags-y += -Wmissing-prototypes -LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL)) -LINUX_VERSION_6_2 := $(shell expr 6 \* 256 + 2) -LINUX_VERSION_6_3 := $(shell expr 6 \* 256 + 3) - -# Legacy GPIO support is removed in Linux v6.3 -ifeq ($(shell test $(LINUX_VERSION) -ge $(LINUX_VERSION_6_3); echo $$?),0) -export CONFIG_TEGRA_GPIO_LEGACY_DISABLE=y -endif - ifeq ($(CONFIG_TEGRA_VIRTUALIZATION),y) subdir-ccflags-y += -DCONFIG_TEGRA_VIRTUALIZATION endif