Navigation Menu

Skip to content

Commit

Permalink
[SPARC]: Fix section mismatch warnings in pci.c and pcic.c
Browse files Browse the repository at this point in the history
Fix section mismatch in arch/sparc/kernel/pcic.c and 
arch/sparc64/kernel/pci.c.

Signed-off-by: Robert Reif <reif@earthlink.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
IOBYTE authored and davem330 committed Apr 12, 2007
1 parent bc375ea commit f6b45da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/sparc/kernel/pcic.c
Expand Up @@ -601,7 +601,7 @@ pcic_fill_irq(struct linux_pcic *pcic, struct pci_dev *dev, int node)
/*
* Normally called from {do_}pci_scan_bus...
*/
void __init pcibios_fixup_bus(struct pci_bus *bus)
void __devinit pcibios_fixup_bus(struct pci_bus *bus)
{
struct pci_dev *dev;
int i, has_io, has_mem;
Expand Down Expand Up @@ -842,7 +842,7 @@ static void watchdog_reset() {
/*
* Other archs parse arguments here.
*/
char * __init pcibios_setup(char *str)
char * __devinit pcibios_setup(char *str)
{
return str;
}
Expand Down
4 changes: 2 additions & 2 deletions arch/sparc64/kernel/pci.c
Expand Up @@ -327,7 +327,7 @@ static int __init pcibios_init(void)

subsys_initcall(pcibios_init);

void pcibios_fixup_bus(struct pci_bus *pbus)
void __devinit pcibios_fixup_bus(struct pci_bus *pbus)
{
struct pci_pbm_info *pbm = pbus->sysdata;

Expand Down Expand Up @@ -405,7 +405,7 @@ void pcibios_bus_to_resource(struct pci_dev *pdev, struct resource *res,
}
EXPORT_SYMBOL(pcibios_bus_to_resource);

char * __init pcibios_setup(char *str)
char * __devinit pcibios_setup(char *str)
{
return str;
}
Expand Down

0 comments on commit f6b45da

Please sign in to comment.