summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra11_emc.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2012-08-28 11:29:21 -0700
committerVarun Colbert <vcolbert@nvidia.com>2012-08-30 09:18:16 -0700
commit63c311418d63f844445c6bfedd998406bf2b715a (patch)
treeabb7e6dd3680b5f91eb0e591f3ee559e94e6d326 /arch/arm/mach-tegra/tegra11_emc.c
parent195fbb8830d79a7a52401e90833f91e2657cc5a7 (diff)
ARM: tegra11: clock: Rename and move EMC table structure
Renamed EMC clock scaling table structure, and moved its definition to common tegra header. Change-Id: I2b37192cb808c43588d05c6cb9bafc24abbc4933 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/128105 Reviewed-by: Bo Yan <byan@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra11_emc.c')
-rw-r--r--arch/arm/mach-tegra/tegra11_emc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/tegra11_emc.c b/arch/arm/mach-tegra/tegra11_emc.c
index 6aaafafef1eb..1074a0b88e5a 100644
--- a/arch/arm/mach-tegra/tegra11_emc.c
+++ b/arch/arm/mach-tegra/tegra11_emc.c
@@ -80,7 +80,7 @@ struct emc_sel {
};
static struct emc_sel tegra_emc_clk_sel[TEGRA_EMC_TABLE_MAX_SIZE];
-static const struct tegra_emc_table *tegra_emc_table;
+static const struct tegra11_emc_table *tegra_emc_table;
static int tegra_emc_table_size;
static u32 dram_dev_num;
@@ -244,7 +244,7 @@ bool tegra_emc_is_parent_ready(unsigned long rate, struct clk **parent,
return false;
}
-static int find_matching_input(const struct tegra_emc_table *table,
+static int find_matching_input(const struct tegra11_emc_table *table,
struct clk *pll_c, struct emc_sel *emc_clk_sel)
{
u32 div_value = 0;
@@ -312,7 +312,7 @@ static int find_matching_input(const struct tegra_emc_table *table,
return 0;
}
-static void adjust_emc_dvfs_table(const struct tegra_emc_table *table,
+static void adjust_emc_dvfs_table(const struct tegra11_emc_table *table,
int table_size)
{
int i, j;
@@ -338,7 +338,7 @@ static void adjust_emc_dvfs_table(const struct tegra_emc_table *table,
}
}
-void tegra_init_emc(const struct tegra_emc_table *table, int table_size)
+void tegra_init_emc(const struct tegra11_emc_table *table, int table_size)
{
int i, mv;
u32 reg;