projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5dd42e
)
[SPARC64]: pci_resource_adjust() cannot be __init.
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 11 May 2007 21:29:43 +0000
(14:29 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 12 May 2007 04:39:22 +0000
(21:39 -0700)
Noticed by Meelis Roos.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/pci.c
b/arch/sparc64/kernel/pci.c
index cf9a75112d0fa9bdb9e00d09fa9c454ee7e8e17b..d4c077dc5e857b0347c9eb1e9bb4622bf2a1e758 100644
(file)
--- 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;