base-files: define yes/no as valid boolean options
[openwrt/staging/wigyori.git] / target / linux / mvebu / patches-3.10 / 0131-mtd-nand-remove-deprecated-IRQF_DISABLED.patch
1 From e3779fc4a84e1c51c061e3e13b1abf1c9a56a2cd Mon Sep 17 00:00:00 2001
2 From: Michael Opdenacker <michael.opdenacker@free-electrons.com>
3 Date: Sun, 13 Oct 2013 08:21:32 +0200
4 Subject: [PATCH 131/203] mtd: nand: remove deprecated IRQF_DISABLED
5
6 This patch proposes to remove the use of the IRQF_DISABLED flag
7
8 It's a NOOP since 2.6.35 and it will be removed one day.
9
10 Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
11 Signed-off-by: Brian Norris <computersforpeace@gmail.com>
12 ---
13 drivers/mtd/nand/pxa3xx_nand.c | 3 +--
14 1 file changed, 1 insertion(+), 2 deletions(-)
15
16 --- a/drivers/mtd/nand/pxa3xx_nand.c
17 +++ b/drivers/mtd/nand/pxa3xx_nand.c
18 @@ -1213,8 +1213,7 @@ static int alloc_nand_resource(struct pl
19 /* initialize all interrupts to be disabled */
20 disable_int(info, NDSR_MASK);
21
22 - ret = request_irq(irq, pxa3xx_nand_irq, IRQF_DISABLED,
23 - pdev->name, info);
24 + ret = request_irq(irq, pxa3xx_nand_irq, 0, pdev->name, info);
25 if (ret < 0) {
26 dev_err(&pdev->dev, "failed to request IRQ\n");
27 goto fail_free_buf;