aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/tegra2_clocks.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-02-23 13:58:50 -0500
committerColin Cross <ccross@android.com>2011-02-23 17:00:11 -0500
commitddb7d5d80edb58e8235f1bc6c350eac40bfe85d1 (patch)
tree0c7ad647a6b8f277fb3f2b1efc0e1a6b210de1ed /arch/arm/mach-tegra/tegra2_clocks.c
parent3c106bf5b3e59e1fc8e0dfcd7a620cfed7a98430 (diff)
ARM: Tegra: Rename clk_dev1/2 to cdev1/2
The ASoC machine driver was written assuming my previous patch to add complete support for these clocks, which named them cdev1/2. Rename the clocks to match that, to avoid churn in the ASoC driver. This rename also makes the clocks more consistent with other Tegra clocks irrespective of any of that. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra2_clocks.c')
-rw-r--r--arch/arm/mach-tegra/tegra2_clocks.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/tegra2_clocks.c b/arch/arm/mach-tegra/tegra2_clocks.c
index ee3f9d76dcb2..6d7c4eea4dcb 100644
--- a/arch/arm/mach-tegra/tegra2_clocks.c
+++ b/arch/arm/mach-tegra/tegra2_clocks.c
@@ -1823,8 +1823,8 @@ static struct clk tegra_clk_d = {
1823}; 1823};
1824 1824
1825/* dap_mclk1, belongs to the cdev1 pingroup. */ 1825/* dap_mclk1, belongs to the cdev1 pingroup. */
1826static struct clk tegra_dev1_clk = { 1826static struct clk tegra_clk_cdev1 = {
1827 .name = "clk_dev1", 1827 .name = "cdev1",
1828 .ops = &tegra_cdev_clk_ops, 1828 .ops = &tegra_cdev_clk_ops,
1829 .rate = 26000000, 1829 .rate = 26000000,
1830 .max_rate = 26000000, 1830 .max_rate = 26000000,
@@ -1834,8 +1834,8 @@ static struct clk tegra_dev1_clk = {
1834}; 1834};
1835 1835
1836/* dap_mclk2, belongs to the cdev2 pingroup. */ 1836/* dap_mclk2, belongs to the cdev2 pingroup. */
1837static struct clk tegra_dev2_clk = { 1837static struct clk tegra_clk_cdev2 = {
1838 .name = "clk_dev2", 1838 .name = "cdev2",
1839 .ops = &tegra_cdev_clk_ops, 1839 .ops = &tegra_cdev_clk_ops,
1840 .rate = 26000000, 1840 .rate = 26000000,
1841 .max_rate = 26000000, 1841 .max_rate = 26000000,
@@ -2276,8 +2276,8 @@ struct clk *tegra_ptr_clks[] = {
2276 &tegra_clk_hclk, 2276 &tegra_clk_hclk,
2277 &tegra_clk_pclk, 2277 &tegra_clk_pclk,
2278 &tegra_clk_d, 2278 &tegra_clk_d,
2279 &tegra_dev1_clk, 2279 &tegra_clk_cdev1,
2280 &tegra_dev2_clk, 2280 &tegra_clk_cdev2,
2281 &tegra_clk_virtual_cpu, 2281 &tegra_clk_virtual_cpu,
2282 &tegra_clk_blink, 2282 &tegra_clk_blink,
2283 &tegra_clk_cop, 2283 &tegra_clk_cop,