aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/dm355.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2009-07-15 08:47:48 -0700
committerKevin Hilman <khilman@deeprootsystems.com>2009-08-26 11:55:47 +0300
commit61aa07328d8e70d95a1e2325288df52a1e92a694 (patch)
tree3dc8f176b9b58b1bec5e2b28cd2a3aa8608c54d6 /arch/arm/mach-davinci/dm355.c
parent548197bdf02882db39b7563d26975e7549e6af03 (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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
index b4d709a8612..3abeb3eb9b2 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[] = {
CLK(NULL, "uart1", &uart1_clk),
CLK(NULL, "uart2", &uart2_clk),
CLK("i2c_davinci.1", NULL, &i2c_clk),
- CLK(NULL, "asp0", &asp0_clk),
- CLK(NULL, "asp1", &asp1_clk),
+ CLK("davinci-asp.0", NULL, &asp0_clk),
+ CLK("davinci-asp.1", NULL, &asp1_clk),
CLK("davinci_mmc.0", NULL, &mmcsd0_clk),
CLK("davinci_mmc.1", NULL, &mmcsd1_clk),
CLK(NULL, "spi0", &spi0_clk),
@@ -648,7 +648,7 @@ static struct resource dm355_asp1_resources[] = {
static struct platform_device dm355_asp1_device = {
.name = "davinci-asp",
- .id = -1,
+ .id = 1,
.num_resources = ARRAY_SIZE(dm355_asp1_resources),
.resource = dm355_asp1_resources,
};