From: David S. Miller Date: Fri, 11 May 2007 21:29:43 +0000 (-0700) Subject: [SPARC64]: pci_resource_adjust() cannot be __init. X-Git-Tag: v2.6.22-rc1~13^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f16537bac7742501c8eb7200341ae1eb9b1e43c3;p=linux-2.6 [SPARC64]: pci_resource_adjust() cannot be __init. Noticed by Meelis Roos. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c index cf9a75112d..d4c077dc5e 100644 --- a/arch/sparc64/kernel/pci.c +++ b/arch/sparc64/kernel/pci.c @@ -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;