diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-22 16:15:38 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-22 16:15:38 +0000 |
commit | 14537ae0c65e537b20512d6bd6c55c81ee0a6ab6 (patch) | |
tree | 68d8af4239082706ce0d6b3b8885adab5f5e7421 /target/linux/ixp4xx/patches-2.6.23 | |
parent | f7af5c7e5ad242428fc6d5135d44ca49dc5ea36e (diff) |
[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')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch | 4 |
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 = { |