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
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue