summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-07 09:47:44 +0200
committerDavid S. Miller <davem@davemloft.net>2009-04-08 12:27:52 +0200
commit19ab6db66ce1b32de54ecb474f16ade3247f8323 (patch)
tree784eb7a1828a3e6e16a421e1f061bddfa443b7d3 /arch/sparc
parentsparc64: get_cells() can't be marked __init (diff)
downloadlinux-19ab6db66ce1b32de54ecb474f16ade3247f8323.tar.xz
linux-19ab6db66ce1b32de54ecb474f16ade3247f8323.zip
sparc64: Fix section mismatch warnings in power driver.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/power.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/power.c b/arch/sparc/kernel/power.c
index ae88f06a7ec4..e2a045c235a1 100644
--- a/arch/sparc/kernel/power.c
+++ b/arch/sparc/kernel/power.c
@@ -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;