Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f16537bac7742501c8eb7200341ae1eb9b1e43c3
Commit:     f16537bac7742501c8eb7200341ae1eb9b1e43c3
Parent:     e5dd42e4fb242ae07a09928616570348ffe8aeee
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Fri May 11 14:29:43 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Fri May 11 21:39:22 2007 -0700

    [SPARC64]: pci_resource_adjust() cannot be __init.
    
    Noticed by Meelis Roos.
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 arch/sparc64/kernel/pci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index cf9a751..d4c077d 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to