Commit b5723521 authored by Ian Campbell's avatar Ian Campbell Committed by Russell King

[ARM] 3048/1: register i2s resources not i2c resources for the pxa i2s platform device

Patch from Ian Campbell

As noted by Uli Luckas in the comments of 3025 there is a typo in the i2s platform device. The i2s platform device refers to the i2c resources.
Signed-off-by: default avatarIan Campbell <icampbell@arcom.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 57718976
...@@ -293,7 +293,7 @@ static struct resource i2s_resources[] = { ...@@ -293,7 +293,7 @@ static struct resource i2s_resources[] = {
static struct platform_device i2s_device = { static struct platform_device i2s_device = {
.name = "pxa2xx-i2s", .name = "pxa2xx-i2s",
.id = -1, .id = -1,
.resource = i2c_resources, .resource = i2s_resources,
.num_resources = ARRAY_SIZE(i2s_resources), .num_resources = ARRAY_SIZE(i2s_resources),
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment