prod: rename config TEGRA_PROD_ENABLE to TEGRA_PROD_LEGACY

To support the new method of the prod implementation,
rename the older config TEGRA_PROD_ENABLE to
TEGRA_PROD_LEGACY for differentating with new implementation.

Bug 3389584

Change-Id: I3ae0f3f32b4fdfa05ce352963cb0dcdbea489ec2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3013910
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-11-09 09:31:21 +00:00
committed by mobile promotions
parent 936d6f0db3
commit 3d64e97531

View File

@@ -9,7 +9,7 @@
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 16, 0)
#ifdef CONFIG_TEGRA_PROD_ENABLE
#ifdef CONFIG_TEGRA_PROD_LEGACY
#include <soc/tegra/tegra-prod.h>
#include <linux/tegra_prod.h>
#else
@@ -17,7 +17,7 @@
#include <linux/tegra-prod-legacy-dummy.h>
#endif
#else /* LINUX_VERSION_CODE */
#ifdef CONFIG_TEGRA_PROD_ENABLE
#ifdef CONFIG_TEGRA_PROD_LEGACY
#include <linux/tegra_prod.h>
#else
#include <linux/tegra-prod-legacy-dummy.h>