]> err.no Git - linux-2.6/commitdiff
[ARM] 3048/1: register i2s resources not i2c resources for the pxa i2s platform device
authorIan Campbell <icampbell@arcom.com>
Fri, 28 Oct 2005 14:31:48 +0000 (15:31 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Oct 2005 14:31:48 +0000 (15:31 +0100)
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: Ian Campbell <icampbell@arcom.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/generic.c

index 2e9e1702c4b39eb15869540eba0972a2ac93287a..719b91e93fa20930b92b31a56b74f1410b20d79e 100644 (file)
@@ -293,7 +293,7 @@ static struct resource i2s_resources[] = {
 static struct platform_device i2s_device = {
        .name           = "pxa2xx-i2s",
        .id             = -1,
-       .resource       = i2c_resources,
+       .resource       = i2s_resources,
        .num_resources  = ARRAY_SIZE(i2s_resources),
 };