[SPARC64]: pci_resource_adjust() cannot be __init.
Noticed by Meelis Roos. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e5dd42e4fb
commit
f16537bac7
|
@ -495,8 +495,8 @@ static void __devinit apb_calc_first_last(u8 map, u32 *first_p, u32 *last_p)
|
|||
*last_p = last;
|
||||
}
|
||||
|
||||
static void __init pci_resource_adjust(struct resource *res,
|
||||
struct resource *root)
|
||||
static void pci_resource_adjust(struct resource *res,
|
||||
struct resource *root)
|
||||
{
|
||||
res->start += root->start;
|
||||
res->end += root->start;
|
||||
|
|
Loading…
Reference in a new issue