From: David S. Miller Date: Thu, 29 Jun 2006 21:39:11 +0000 (-0700) Subject: [SPARC64] power: Do not pass SA_SHIRQ to request_irq(). X-Git-Tag: v2.6.18-rc1~338 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=00cde6748255a84beecfdea4caeaf7c9cd05a527;p=linux-2.6-omap-h63xx.git [SPARC64] power: Do not pass SA_SHIRQ to request_irq(). This needs to be a unique interrupt source because we do not have a register or similar to poll to make sure the IRQ is really for us. We do not have any dev_id to pass in anyways, and the generic IRQ layer is now enforcing that when SA_SHIRQ is specified, dev_id must be non-NULL. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c index 9496c773401..df0a82d082b 100644 --- a/arch/sparc64/kernel/power.c +++ b/arch/sparc64/kernel/power.c @@ -131,7 +131,7 @@ static void __devinit power_probe_common(struct of_device *dev, struct resource printk("powerd running.\n"); if (request_irq(irq, - power_handler, SA_SHIRQ, "power", NULL) < 0) + power_handler, 0, "power", NULL) < 0) printk("power: Error, cannot register IRQ handler.\n"); } else { printk("not using powerd.\n");