sparc64: Fix section mismatch warnings in power driver.
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Apr 2009 07:47:44 +0000 (00:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2009 10:27:52 +0000 (03:27 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/power.c

index ae88f06a7ec4c74838f514817d9c15a793eb1e5b..e2a045c235a10b9d3861e48b7af2e2acab7b50e1 100644 (file)
@@ -23,7 +23,7 @@ static irqreturn_t power_handler(int irq, void *dev_id)
        return IRQ_HANDLED;
 }
 
-static int __init has_button_interrupt(unsigned int irq, struct device_node *dp)
+static int __devinit has_button_interrupt(unsigned int irq, struct device_node *dp)
 {
        if (irq == 0xffffffff)
                return 0;