summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-07 00:54:27 -0700
committerDavid S. Miller <davem@davemloft.net>2009-04-08 03:27:38 -0700
commit6bbc0b08db0750c2564578bd1be909bc8f7dee1a (patch)
treef8da4c0eb6e68c635b53180161fb754a65e9dec5 /arch
parent577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff)
downloadlinux-3.10-6bbc0b08db0750c2564578bd1be909bc8f7dee1a.tar.gz
linux-3.10-6bbc0b08db0750c2564578bd1be909bc8f7dee1a.tar.bz2
linux-3.10-6bbc0b08db0750c2564578bd1be909bc8f7dee1a.zip
sparc64: get_cells() can't be marked __init
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/of_device_64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/kernel/of_device_64.c b/arch/sparc/kernel/of_device_64.c
index b4a12c9aa5f..27381f1baff 100644
--- a/arch/sparc/kernel/of_device_64.c
+++ b/arch/sparc/kernel/of_device_64.c
@@ -99,8 +99,7 @@ static inline u64 of_read_addr(const u32 *cell, int size)
return r;
}
-static void __init get_cells(struct device_node *dp,
- int *addrc, int *sizec)
+static void get_cells(struct device_node *dp, int *addrc, int *sizec)
{
if (addrc)
*addrc = of_n_addr_cells(dp);