mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-12 14:15:51 +03:00
[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
This commit is contained in:
parent
f7af5c7e5a
commit
14537ae0c6
@ -204,8 +204,8 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-setup.c linux-2.6.23-owrt
|
|||||||
+ .dev = {
|
+ .dev = {
|
||||||
+ .platform_data = sidewinder_uart_data,
|
+ .platform_data = sidewinder_uart_data,
|
||||||
+ },
|
+ },
|
||||||
+ .num_resources = 2,
|
+ .num_resources = ARRAY_SIZE(sidewinder_uart_resources),
|
||||||
+ .resource = &sidewinder_uart_resources,
|
+ .resource = sidewinder_uart_resources,
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+static struct platform_device *sidewinder_devices[] __initdata = {
|
+static struct platform_device *sidewinder_devices[] __initdata = {
|
||||||
|
@ -204,8 +204,8 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-setup.c linux-2.6.23-owrt
|
|||||||
+ .dev = {
|
+ .dev = {
|
||||||
+ .platform_data = sidewinder_uart_data,
|
+ .platform_data = sidewinder_uart_data,
|
||||||
+ },
|
+ },
|
||||||
+ .num_resources = 2,
|
+ .num_resources = ARRAY_SIZE(sidewinder_uart_resources),
|
||||||
+ .resource = &sidewinder_uart_resources,
|
+ .resource = sidewinder_uart_resources,
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+static struct platform_device *sidewinder_devices[] __initdata = {
|
+static struct platform_device *sidewinder_devices[] __initdata = {
|
||||||
|
@ -204,8 +204,8 @@ diff -Nur linux-2.6.23/arch/arm/mach-ixp4xx/sidewinder-setup.c linux-2.6.23-owrt
|
|||||||
+ .dev = {
|
+ .dev = {
|
||||||
+ .platform_data = sidewinder_uart_data,
|
+ .platform_data = sidewinder_uart_data,
|
||||||
+ },
|
+ },
|
||||||
+ .num_resources = 2,
|
+ .num_resources = ARRAY_SIZE(sidewinder_uart_resources),
|
||||||
+ .resource = &sidewinder_uart_resources,
|
+ .resource = sidewinder_uart_resources,
|
||||||
+};
|
+};
|
||||||
+
|
+
|
||||||
+static struct platform_device *sidewinder_devices[] __initdata = {
|
+static struct platform_device *sidewinder_devices[] __initdata = {
|
||||||
|
Loading…
Reference in New Issue
Block a user