1 diff --git a/arch/arm/mach-ixp4xx/nslu2-setup.c b/arch/arm/mach-ixp4xx/nslu2-setup.c
2 index 9bf8ccb..77277d2 100644
3 --- a/arch/arm/mach-ixp4xx/nslu2-setup.c
4 +++ b/arch/arm/mach-ixp4xx/nslu2-setup.c
6 #include <linux/serial.h>
7 #include <linux/serial_8250.h>
8 #include <linux/leds.h>
9 +#include <linux/i2c-gpio.h>
11 #include <asm/mach-types.h>
12 #include <asm/mach/arch.h>
13 @@ -41,7 +42,7 @@ static struct platform_device nslu2_flash = {
14 .resource = &nslu2_flash_resource,
17 -static struct ixp4xx_i2c_pins nslu2_i2c_gpio_pins = {
18 +static struct i2c_gpio_platform_data nslu2_i2c_gpio_data = {
19 .sda_pin = NSLU2_SDA_PIN,
20 .scl_pin = NSLU2_SCL_PIN,
22 @@ -82,11 +83,12 @@ static struct platform_device nslu2_leds = {
26 -static struct platform_device nslu2_i2c_controller = {
27 - .name = "IXP4XX-I2C",
28 +static struct platform_device nslu2_i2c_gpio = {
31 - .dev.platform_data = &nslu2_i2c_gpio_pins,
34 + .platform_data = &nslu2_i2c_gpio_data,
38 static struct platform_device nslu2_beeper = {
39 @@ -139,7 +141,7 @@ static struct platform_device nslu2_uart = {
42 static struct platform_device *nslu2_devices[] __initdata = {
43 - &nslu2_i2c_controller,
47 #ifdef CONFIG_LEDS_IXP4XX