Commit 3bb07787 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Kill sparse warning in power.c

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4695119
......@@ -141,8 +141,7 @@ void __init power_init(void)
printk("powerd running.\n");
if (request_irq(edev->irqs[0],
power_handler, SA_SHIRQ, "power",
(void *) power_reg) < 0)
power_handler, SA_SHIRQ, "power", NULL) < 0)
printk("power: Error, cannot register IRQ handler.\n");
} else {
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