summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/edp_core.c
diff options
context:
space:
mode:
authorMayuresh Kulkarni <mkulkarni@nvidia.com>2013-03-12 15:39:43 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:02:47 -0700
commit67d78945d852971430f8aff63f49bfaa4fc1d8e4 (patch)
tree08638f8c6ccdde9edf0bdad07796040fb67af520 /arch/arm/mach-tegra/edp_core.c
parentd7c5e1cc1d56271a16a02a0c90c94366ae68a27e (diff)
ARM: tegra: remove duplicate defines for chip_id
- the chip id have been defined in 2 places: fuse.h as TEGRAXX & mach/hardware.h as TEGRA_CHIPID_TEGRAXX - some part of code used defines from fuse.h while others used mach/hardware.h - this commit removes the defines in fuse.h and converts all the code to use the defines from mach/hardware.h - kernel in dev-chips is also using defines from mach/hardware.h Change-Id: Ia65f8ead3f8eccdd6cba4a159c3d0e16a2566e41 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/208375 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/edp_core.c')
-rw-r--r--arch/arm/mach-tegra/edp_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/edp_core.c b/arch/arm/mach-tegra/edp_core.c
index 1909dd67b45c..afc0fd3c3c75 100644
--- a/arch/arm/mach-tegra/edp_core.c
+++ b/arch/arm/mach-tegra/edp_core.c
@@ -170,7 +170,7 @@ void __init tegra_init_core_edp_limits(unsigned int regulator_mA)
unsigned long *cap_rates;
switch (tegra_chip_id) {
- case TEGRA11X:
+ case TEGRA_CHIPID_TEGRA11:
if (tegra11x_select_core_edp_table(
regulator_mA, &core_edp_limits))
return;