lantiq: fix breakage introduced in 3.1 bump
[openwrt.git] / target / linux / lantiq / patches / 830-fix-falcon-i2c-resources.patch
1 --- a/arch/mips/lantiq/falcon/devices.c
2 +++ b/arch/mips/lantiq/falcon/devices.c
3 @@ -130,10 +130,10 @@ falcon_register_gpio_extra(void)
4  /* i2c */
5  static struct resource falcon_i2c_resources[] = {
6         MEM_RES("i2c", LTQ_I2C_BASE_ADDR, LTQ_I2C_SIZE),
7 -       IRQ_RES("i2c_lb", FALCON_IRQ_I2C_LBREQ),
8 -       IRQ_RES("i2c_b", FALCON_IRQ_I2C_BREQ),
9 -       IRQ_RES("i2c_err", FALCON_IRQ_I2C_I2C_ERR),
10 -       IRQ_RES("i2c_p", FALCON_IRQ_I2C_I2C_P),
11 +       IRQ_RES(i2c_lb, FALCON_IRQ_I2C_LBREQ),
12 +       IRQ_RES(i2c_b, FALCON_IRQ_I2C_BREQ),
13 +       IRQ_RES(i2c_err, FALCON_IRQ_I2C_I2C_ERR),
14 +       IRQ_RES(i2c_p, FALCON_IRQ_I2C_I2C_P),
15  };
16  
17  void __init falcon_register_i2c(void)