Commit 00cde674 authored by David S. Miller's avatar David S. Miller Committed by David S. Miller

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent d44b3be8
...@@ -131,7 +131,7 @@ static void __devinit power_probe_common(struct of_device *dev, struct resource ...@@ -131,7 +131,7 @@ static void __devinit power_probe_common(struct of_device *dev, struct resource
printk("powerd running.\n"); printk("powerd running.\n");
if (request_irq(irq, 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"); printk("power: Error, cannot register IRQ handler.\n");
} else { } else {
printk("not using powerd.\n"); printk("not using powerd.\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment