aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches/830-fix-falcon-i2c-resources.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-11-11 21:59:01 +0000
committerJohn Crispin <blogic@openwrt.org>2011-11-11 21:59:01 +0000
commit9b8ac845a1eef0a3bb5886e3e583417e948c0763 (patch)
treed7bb00d42686dd01037c88e10e6287ef3328cfe9 /target/linux/lantiq/patches/830-fix-falcon-i2c-resources.patch
parentc6af60f433ffe9c68626b2d65584115071349f15 (diff)
downloadupstream-9b8ac845a1eef0a3bb5886e3e583417e948c0763.tar.gz
upstream-9b8ac845a1eef0a3bb5886e3e583417e948c0763.tar.bz2
upstream-9b8ac845a1eef0a3bb5886e3e583417e948c0763.zip
lantiq: fix breakage introduced in 3.1 bump
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28961 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches/830-fix-falcon-i2c-resources.patch')
-rw-r--r--target/linux/lantiq/patches/830-fix-falcon-i2c-resources.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches/830-fix-falcon-i2c-resources.patch b/target/linux/lantiq/patches/830-fix-falcon-i2c-resources.patch
new file mode 100644
index 0000000000..ad0a11a666
--- /dev/null
+++ b/target/linux/lantiq/patches/830-fix-falcon-i2c-resources.patch
@@ -0,0 +1,17 @@
+--- a/arch/mips/lantiq/falcon/devices.c
++++ b/arch/mips/lantiq/falcon/devices.c
+@@ -130,10 +130,10 @@ falcon_register_gpio_extra(void)
+ /* i2c */
+ static struct resource falcon_i2c_resources[] = {
+ MEM_RES("i2c", LTQ_I2C_BASE_ADDR, LTQ_I2C_SIZE),
+- IRQ_RES("i2c_lb", FALCON_IRQ_I2C_LBREQ),
+- IRQ_RES("i2c_b", FALCON_IRQ_I2C_BREQ),
+- IRQ_RES("i2c_err", FALCON_IRQ_I2C_I2C_ERR),
+- IRQ_RES("i2c_p", FALCON_IRQ_I2C_I2C_P),
++ IRQ_RES(i2c_lb, FALCON_IRQ_I2C_LBREQ),
++ IRQ_RES(i2c_b, FALCON_IRQ_I2C_BREQ),
++ IRQ_RES(i2c_err, FALCON_IRQ_I2C_I2C_ERR),
++ IRQ_RES(i2c_p, FALCON_IRQ_I2C_I2C_P),
+ };
+
+ void __init falcon_register_i2c(void)