mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
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;
|
||||
}
|
||||
|
||||
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 New Issue
Block a user