* [PATCH -rt]: mtd cafe: Use IRQF_SHARED
@ 2007-02-01 16:37 Luiz Fernando N. Capitulino
2007-02-01 17:28 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Fernando N. Capitulino @ 2007-02-01 16:37 UTC (permalink / raw)
To: mingo; +Cc: linux-kernel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH -rt]: mtd cafe: Use IRQF_SHARED
2007-02-01 16:37 [PATCH -rt]: mtd cafe: Use IRQF_SHARED Luiz Fernando N. Capitulino
@ 2007-02-01 17:28 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2007-02-01 17:28 UTC (permalink / raw)
To: Luiz Fernando N. Capitulino; +Cc: linux-kernel, Thomas Gleixner
* Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> wrote:
> 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.)
thanks, applied.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-01 17:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-01 16:37 [PATCH -rt]: mtd cafe: Use IRQF_SHARED Luiz Fernando N. Capitulino
2007-02-01 17:28 ` Ingo Molnar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.