From: "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH -rt]: mtd cafe: Use IRQF_SHARED
Date: Thu, 1 Feb 2007 14:37:52 -0200 [thread overview]
Message-ID: <20070201143752.71fa569b@localhost> (raw)
Ingo,
I need the following fix to compile your -rt patch, otherwise I get:
CC [M] drivers/mtd/nand/cafe.o
drivers/mtd/nand/cafe.c: In function ‘cafe_nand_probe’:
drivers/mtd/nand/cafe.c:600: error: ‘SA_SHIRQ’ undeclared (first use in this function)
drivers/mtd/nand/cafe.c:600: error: (Each undeclared identifier is reported only once
drivers/mtd/nand/cafe.c:600: error: for each function it appears in.)
make[2]: *** [drivers/mtd/nand/cafe.o] Error 1
make[1]: *** [drivers/mtd/nand] Error 2
make: *** [_module_drivers/mtd] Error 2
----------
mtd cafe: Use IRQF_SHARED
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
diff --git a/drivers/mtd/nand/cafe.c b/drivers/mtd/nand/cafe.c
index 65f9bd3..5a20518 100644
--- a/drivers/mtd/nand/cafe.c
+++ b/drivers/mtd/nand/cafe.c
@@ -597,7 +597,8 @@ static int __devinit cafe_nand_probe(str
cafe_writel(cafe, 0xffffffff, NAND_TIMING3);
}
cafe_writel(cafe, 0xffffffff, NAND_IRQ_MASK);
- err = request_irq(pdev->irq, &cafe_nand_interrupt, SA_SHIRQ, "CAFE NAND", mtd);
+ err = request_irq(pdev->irq, &cafe_nand_interrupt, IRQF_SHARED,
+ "CAFE NAND", mtd);
if (err) {
dev_warn(&pdev->dev, "Could not register IRQ %d\n", pdev->irq);
--
Luiz Fernando N. Capitulino
next reply other threads:[~2007-02-01 16:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-01 16:37 Luiz Fernando N. Capitulino [this message]
2007-02-01 17:28 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070201143752.71fa569b@localhost \
--to=lcapitulino@mandriva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®