Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f16537ba authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: pci_resource_adjust() cannot be __init.



Noticed by Meelis Roos.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e5dd42e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -495,7 +495,7 @@ 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;