Commit 6bbc0b08 authored by David S. Miller's avatar David S. Miller

sparc64: get_cells() can't be marked __init

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 577c9c45
...@@ -99,8 +99,7 @@ static inline u64 of_read_addr(const u32 *cell, int size) ...@@ -99,8 +99,7 @@ static inline u64 of_read_addr(const u32 *cell, int size)
return r; return r;
} }
static void __init get_cells(struct device_node *dp, static void get_cells(struct device_node *dp, int *addrc, int *sizec)
int *addrc, int *sizec)
{ {
if (addrc) if (addrc)
*addrc = of_n_addr_cells(dp); *addrc = of_n_addr_cells(dp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment