[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
1 changed files with 2 additions and 2 deletions
|
@ -495,8 +495,8 @@ static void __devinit apb_calc_first_last(u8 map, u32 *first_p, u32 *last_p)
|
||||||
*last_p = last;
|
*last_p = last;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init pci_resource_adjust(struct resource *res,
|
static void pci_resource_adjust(struct resource *res,
|
||||||
struct resource *root)
|
struct resource *root)
|
||||||
{
|
{
|
||||||
res->start += root->start;
|
res->start += root->start;
|
||||||
res->end += root->start;
|
res->end += root->start;
|
||||||
|
|
Loading…
Add table
Reference in a new issue