summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-07 07:54:27 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-04-08 10:27:38 (GMT)
commit6bbc0b08db0750c2564578bd1be909bc8f7dee1a (patch)
treef8da4c0eb6e68c635b53180161fb754a65e9dec5 /arch
parent577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff)
downloadlinux-fsl-qoriq-6bbc0b08db0750c2564578bd1be909bc8f7dee1a.tar.xz
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 b4a12c9..27381f1 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);