Commit abc03412 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2480/1: IXP4XX - cleanup resource for i2c controller

Patch from Ben Dooks

Fix the following:
arch/arm/mach-ixp4xx/common.c:305: warning: initialization from incompatible pointer type

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
parent d14d4021
...@@ -301,7 +301,7 @@ static struct platform_device ixp46x_i2c_controller = { ...@@ -301,7 +301,7 @@ static struct platform_device ixp46x_i2c_controller = {
.name = "IOP3xx-I2C", .name = "IOP3xx-I2C",
.id = 0, .id = 0,
.num_resources = 2, .num_resources = 2,
.resource = &ixp46x_i2c_resources .resource = ixp46x_i2c_resources
}; };
static struct platform_device *ixp46x_devices[] __initdata = { static struct platform_device *ixp46x_devices[] __initdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment