aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-04-22 16:15:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-04-22 16:15:38 +0000
commitec8663edf37835701ec2ccede42504e802c9f967 (patch)
tree68d8af4239082706ce0d6b3b8885adab5f5e7421 /target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch
parent1bc0fad874ef98ea5ca9b302c87e310dcd2d2d64 (diff)
downloadmaster-187ad058-ec8663edf37835701ec2ccede42504e802c9f967.tar.gz
master-187ad058-ec8663edf37835701ec2ccede42504e802c9f967.tar.bz2
master-187ad058-ec8663edf37835701ec2ccede42504e802c9f967.zip
[ixp4xx] fix a compiler warning in the Sidewinder board specific code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10911 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch')
-rw-r--r--target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch b/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch
index 48d567f6f4..a83c421cbf 100644
--- a/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch
+++ b/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch
@@ -204,8 +204,8 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-setup.c linux-2.6.23-owrt
+ .dev = {
+ .platform_data = sidewinder_uart_data,
+ },
-+ .num_resources = 2,
-+ .resource = &sidewinder_uart_resources,
++ .num_resources = ARRAY_SIZE(sidewinder_uart_resources),
++ .resource = sidewinder_uart_resources,
+};
+
+static struct platform_device *sidewinder_devices[] __initdata = {