]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SPARC64]: pci_resource_adjust() cannot be __init.
authorDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 21:29:43 +0000 (14:29 -0700)
committerDavid 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

index cf9a75112d0fa9bdb9e00d09fa9c454ee7e8e17b..d4c077dc5e857b0347c9eb1e9bb4622bf2a1e758 100644 (file)
@@ -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;