aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-11 17:29:43 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-12 00:39:22 -0400
commitf16537bac7742501c8eb7200341ae1eb9b1e43c3 (patch)
treeec175da334b37c6f4823bae28503953562f3562b
parente5dd42e4fb242ae07a09928616570348ffe8aeee (diff)
[SPARC64]: pci_resource_adjust() cannot be __init.
Noticed by Meelis Roos. Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/sparc64/kernel/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index cf9a75112d0f..d4c077dc5e85 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)
495 *last_p = last; 495 *last_p = last;
496} 496}
497 497
498static void __init pci_resource_adjust(struct resource *res, 498static void pci_resource_adjust(struct resource *res,
499 struct resource *root) 499 struct resource *root)
500{ 500{
501 res->start += root->start; 501 res->start += root->start;
502 res->end += root->start; 502 res->end += root->start;