Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e5b9187b16993e4bb6799185e266f68e26663bee
Commit:     e5b9187b16993e4bb6799185e266f68e26663bee
Parent:     2b02d13996fe28478e45605de9bd8bdca25718de
Author:     Ishizaki Kou <[EMAIL PROTECTED]>
AuthorDate: Thu Jul 26 19:59:17 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 11:01:50 2007 +1000

    [POWERPC] Fix celleb pci section warnings
    
    Fix following warnings:
    WARNING: vmlinux.o(.text+0x44ad0): Section mismatch: reference to 
.init.text:.__alloc_bootmem (between '.celleb_setup_phb' and 
'.celleb_fake_pci_write_config')
    WARNING: vmlinux.o(.text+0x44dd8): Section mismatch: reference to 
.init.text:.free_bootmem (between '.celleb_setup_phb' and 
'.celleb_fake_pci_write_config')
    
    Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/celleb/pci.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/powerpc/platforms/celleb/pci.c 
b/arch/powerpc/platforms/celleb/pci.c
index e9ac19c..e0d97e0 100644
--- a/arch/powerpc/platforms/celleb/pci.c
+++ b/arch/powerpc/platforms/celleb/pci.c
@@ -288,8 +288,8 @@ static inline void celleb_setup_pci_base_addrs(struct 
pci_controller *hose,
        celleb_config_write_fake(config, PCI_COMMAND, 2, val);
 }
 
-static int __devinit celleb_setup_fake_pci_device(struct device_node *node,
-                                                 struct pci_controller *hose)
+static int __init celleb_setup_fake_pci_device(struct device_node *node,
+                                              struct pci_controller *hose)
 {
        unsigned int rlen;
        int num_base_addr = 0;
@@ -418,8 +418,8 @@ error:
        return 1;
 }
 
-static int __devinit phb_set_bus_ranges(struct device_node *dev,
-                                       struct pci_controller *phb)
+static int __init phb_set_bus_ranges(struct device_node *dev,
+                                    struct pci_controller *phb)
 {
        const int *bus_range;
        unsigned int len;
@@ -434,7 +434,7 @@ static int __devinit phb_set_bus_ranges(struct device_node 
*dev,
        return 0;
 }
 
-static void __devinit celleb_alloc_private_mem(struct pci_controller *hose)
+static void __init celleb_alloc_private_mem(struct pci_controller *hose)
 {
        if (mem_init_done)
                hose->private_data =
@@ -444,7 +444,7 @@ static void __devinit celleb_alloc_private_mem(struct 
pci_controller *hose)
                        alloc_bootmem(sizeof(struct celleb_pci_private));
 }
 
-int __devinit celleb_setup_phb(struct pci_controller *phb)
+int __init celleb_setup_phb(struct pci_controller *phb)
 {
        const char *name;
        struct device_node *dev = phb->arch_data;
-
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