sparc64: get_cells() can't be marked __init
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
577c9c456f
commit
6bbc0b08db
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue