diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-07 03:54:27 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-08 06:27:38 -0400 |
commit | 6bbc0b08db0750c2564578bd1be909bc8f7dee1a (patch) | |
tree | f8da4c0eb6e68c635b53180161fb754a65e9dec5 /arch/sparc | |
parent | 577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff) |
sparc64: get_cells() can't be marked __init
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/of_device_64.c | 3 |
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 b4a12c9aa5f8..27381f1baffc 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) | |||
99 | return r; | 99 | return r; |
100 | } | 100 | } |
101 | 101 | ||
102 | static void __init get_cells(struct device_node *dp, | 102 | static void get_cells(struct device_node *dp, int *addrc, int *sizec) |
103 | int *addrc, int *sizec) | ||
104 | { | 103 | { |
105 | if (addrc) | 104 | if (addrc) |
106 | *addrc = of_n_addr_cells(dp); | 105 | *addrc = of_n_addr_cells(dp); |