diff options
author | John Crispin <blogic@openwrt.org> | 2015-10-11 16:24:43 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-10-11 16:24:43 +0000 |
commit | 636c344cba43ceafadb4b4f4616bb876efe33907 (patch) | |
tree | bcd4405055d20150d360a0950f00abd823376793 /target | |
parent | 9ff8f2d22af0eab326f461d99d98cecf4344b88c (diff) | |
download | master-187ad058-636c344cba43ceafadb4b4f4616bb876efe33907.tar.gz master-187ad058-636c344cba43ceafadb4b4f4616bb876efe33907.tar.bz2 master-187ad058-636c344cba43ceafadb4b4f4616bb876efe33907.zip |
lantiq: fix use of IRQF_DISABLED in lantiq kmods
The IRQF_DISABLED flag was removed in kernel 4.1 with commit
"genirq: Remove the deprecated 'IRQF_DISABLED' request_irq() flag entirely" [1].
Therefore the compilation of ltq-hcd and ltq-vmmc kmods fails.
[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d8bf368d0631d4bc2612d8bf2e4e8e74e620d0cc
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47180 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/lantiq/patches-4.1/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/lantiq/patches-4.1/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch b/target/linux/lantiq/patches-4.1/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch index 164c9476a4..0fe9f04975 100644 --- a/target/linux/lantiq/patches-4.1/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch +++ b/target/linux/lantiq/patches-4.1/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch @@ -668,7 +668,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + priv->irq_lb = irqres[0].start; + + ret = devm_request_irq(&pdev->dev, irqres[0].start, ltq_i2c_isr_burst, -+ IRQF_DISABLED, "i2c lb", priv); ++ 0x0, "i2c lb", priv); + if (ret) { + dev_err(&pdev->dev, "can't get last burst IRQ %d\n", + irqres[0].start); @@ -676,7 +676,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + } + + ret = devm_request_irq(&pdev->dev, irqres[1].start, ltq_i2c_isr_burst, -+ IRQF_DISABLED, "i2c b", priv); ++ 0x0, "i2c b", priv); + if (ret) { + dev_err(&pdev->dev, "can't get burst IRQ %d\n", + irqres[1].start); @@ -684,7 +684,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + } + + ret = devm_request_irq(&pdev->dev, irqres[2].start, ltq_i2c_isr, -+ IRQF_DISABLED, "i2c err", priv); ++ 0x0, "i2c err", priv); + if (ret) { + dev_err(&pdev->dev, "can't get error IRQ %d\n", + irqres[2].start); @@ -692,7 +692,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> + } + + ret = devm_request_irq(&pdev->dev, irqres[3].start, ltq_i2c_isr, -+ IRQF_DISABLED, "i2c p", priv); ++ 0x0, "i2c p", priv); + if (ret) { + dev_err(&pdev->dev, "can't get protocol IRQ %d\n", + irqres[3].start); |