Skip to content

Commit

Permalink
[SPARC64]: pci_resource_adjust() cannot be __init.
Browse files Browse the repository at this point in the history
Noticed by Meelis Roos.

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
David S. Miller committed May 12, 2007
1 parent e5dd42e commit f16537b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sparc64/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f16537b

Please sign in to comment.