mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvidia-oot: Remove unused CONFIG_TEGRA_IVC_LEGACY_DISABLE
The export of config CONFIG_TEGRA_IVC_LEGACY_DISABLE is no more required as all drivers which was disabled from build due to IVC API changes are ported to handle the new APIs from core kernel. Remove unused config CONFIG_TEGRA_IVC_LEGACY_DISABLE. Bug 4346767 Change-Id: I7830f962735b293f9c78cd03acfa1413f9eb4cff Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3033025 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
bf1cfb5fb4
commit
2179242ba9
10
Makefile
10
Makefile
@@ -10,16 +10,6 @@ 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)
|
||||
|
||||
# The Tegra IVC driver was updated to support iosys-map in Linux v6.2.
|
||||
# For Linux v6.2 kernels, don't build any drivers that requires this.
|
||||
ifeq ($(shell test $(LINUX_VERSION) -ge $(LINUX_VERSION_6_2); echo $$?),0)
|
||||
export CONFIG_TEGRA_IVC_LEGACY_DISABLE=y
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_IVC_LEGACY_DISABLE),y)
|
||||
subdir-ccflags-y += -DCONFIG_TEGRA_IVC_LEGACY_DISABLE
|
||||
endif
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user