diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-07 00:54:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-08 03:27:38 -0700 |
commit | 6bbc0b08db0750c2564578bd1be909bc8f7dee1a (patch) | |
tree | f8da4c0eb6e68c635b53180161fb754a65e9dec5 | |
parent | 577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff) | |
download | op-kernel-dev-6bbc0b08db0750c2564578bd1be909bc8f7dee1a.zip op-kernel-dev-6bbc0b08db0750c2564578bd1be909bc8f7dee1a.tar.gz |
sparc64: get_cells() can't be marked __init
Signed-off-by: David S. Miller <davem@davemloft.net>
-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 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); |