Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c4aa2563f953d13a9bcf4731b00b0900a45626d7
Commit:     c4aa2563f953d13a9bcf4731b00b0900a45626d7
Parent:     4547d224d29a6a9a81df91858c2e26b7f88e02e1
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 23 14:17:14 2007 +0100
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Mon Aug 27 02:16:59 2007 +0100

    [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
    
    Since 96bde06a2df1b363206d3cdef53134b84ff37813 several callers of
    pcibios_resource_to_bus are no longer marked __devinit resulting in a
    pile of modpost warnings if PCI && !HOTPLUG:
    
      MODPOST vmlinux.o
    WARNING: vmlinux.o(.text+0x15dde8): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_map_rom' and 
'pci_map_rom_copy')
    WARNING: vmlinux.o(.text+0x15e140): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_update_resource' and 
'pci_claim_resource')
    WARNING: vmlinux.o(.text+0x15f0cc): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 
'pci_bus_assign_resources')
    WARNING: vmlinux.o(.text+0x15f0f0): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 
'pci_bus_assign_resources')
    WARNING: vmlinux.o(.text+0x15f114): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 
'pci_bus_assign_resources')
    WARNING: vmlinux.o(.text+0x15f138): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 
'pci_bus_assign_resources')
    WARNING: vmlinux.o(.text+0x15f438): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_bus_assign_resources' and 
'pbus_size_mem')
    WARNING: vmlinux.o(.text+0x15f4f4): Section mismatch: reference to 
.init.text:pcibios_resource_to_bus (between 'pci_bus_assign_resources' and 
'pbus_size_mem')
    
    Removing __devinit from pcibios_resource_to_bus make the same necessary
    for pcibios_fixup_device_resources as well.
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/pci/pci.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 6c2da62..403487e 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -230,7 +230,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
        return pcibios_plat_dev_init(dev);
 }
 
-static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev,
+static void pcibios_fixup_device_resources(struct pci_dev *dev,
        struct pci_bus *bus)
 {
        /* Update device resources.  */
@@ -282,8 +282,7 @@ pcibios_update_irq(struct pci_dev *dev, int irq)
        pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
 }
 
-void __devinit
-pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region,
+void pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region 
*region,
                         struct resource *res)
 {
        struct pci_controller *hose = (struct pci_controller *)dev->sysdata;
-
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