X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/58f98ac38244ed93bb01dcf377937f1aec45202b..59d3cbb5a54b4d01fe6964fdb80dc7071a87182b:/target/linux/ixp4xx/patches-2.6.23/140-sidewinder_support.patch 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 48d567f6f..a83c421cb 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 = {