summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra12_dvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/tegra12_dvfs.c')
-rw-r--r--arch/arm/mach-tegra/tegra12_dvfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra12_dvfs.c b/arch/arm/mach-tegra/tegra12_dvfs.c
index 7c69350ed9a9..2a03b7165bc5 100644
--- a/arch/arm/mach-tegra/tegra12_dvfs.c
+++ b/arch/arm/mach-tegra/tegra12_dvfs.c
@@ -1219,6 +1219,8 @@ int tegra_dvfs_rail_post_enable(struct dvfs_rail *rail)
return 0;
}
+#ifdef CONFIG_TEGRA_CORE_CAP
+
/* Core voltage and bus cap object and tables */
static struct kobject *cap_kobj;
static struct kobject *gpu_kobj;
@@ -1344,3 +1346,5 @@ static int __init tegra12_dvfs_init_core_cap(void)
return 0;
}
late_initcall(tegra12_dvfs_init_core_cap);
+
+#endif