fix a compiler warning in the Sidewinder board specific code
SVN-Revision: 10911
This commit is contained in:
parent
8231561bce
commit
c0f8fa8757
3 changed files with 6 additions and 6 deletions
|
@ -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 a new issue