diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2009-07-15 11:47:48 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 04:55:47 -0400 |
commit | 61aa07328d8e70d95a1e2325288df52a1e92a694 (patch) | |
tree | 3dc8f176b9b58b1bec5e2b28cd2a3aa8608c54d6 /arch/arm/mach-davinci/dm355.c | |
parent | 548197bdf02882db39b7563d26975e7549e6af03 (diff) |
davinci: audio clocks: use struct device instead of clock names
There is no need to pass clock name strings in platform_data.
Instead, setup clkdev nodes to have correct ASoC device names.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm355.c')
-rw-r--r-- | arch/arm/mach-davinci/dm355.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index b4d709a8612a..3abeb3eb9b24 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -361,8 +361,8 @@ static struct davinci_clk dm355_clks[] = { | |||
361 | CLK(NULL, "uart1", &uart1_clk), | 361 | CLK(NULL, "uart1", &uart1_clk), |
362 | CLK(NULL, "uart2", &uart2_clk), | 362 | CLK(NULL, "uart2", &uart2_clk), |
363 | CLK("i2c_davinci.1", NULL, &i2c_clk), | 363 | CLK("i2c_davinci.1", NULL, &i2c_clk), |
364 | CLK(NULL, "asp0", &asp0_clk), | 364 | CLK("davinci-asp.0", NULL, &asp0_clk), |
365 | CLK(NULL, "asp1", &asp1_clk), | 365 | CLK("davinci-asp.1", NULL, &asp1_clk), |
366 | CLK("davinci_mmc.0", NULL, &mmcsd0_clk), | 366 | CLK("davinci_mmc.0", NULL, &mmcsd0_clk), |
367 | CLK("davinci_mmc.1", NULL, &mmcsd1_clk), | 367 | CLK("davinci_mmc.1", NULL, &mmcsd1_clk), |
368 | CLK(NULL, "spi0", &spi0_clk), | 368 | CLK(NULL, "spi0", &spi0_clk), |
@@ -648,7 +648,7 @@ static struct resource dm355_asp1_resources[] = { | |||
648 | 648 | ||
649 | static struct platform_device dm355_asp1_device = { | 649 | static struct platform_device dm355_asp1_device = { |
650 | .name = "davinci-asp", | 650 | .name = "davinci-asp", |
651 | .id = -1, | 651 | .id = 1, |
652 | .num_resources = ARRAY_SIZE(dm355_asp1_resources), | 652 | .num_resources = ARRAY_SIZE(dm355_asp1_resources), |
653 | .resource = dm355_asp1_resources, | 653 | .resource = dm355_asp1_resources, |
654 | }; | 654 | }; |