Skip to content

Commit

Permalink
x86/PCI: Move pcibios_assign_resources() annotation to definition
Browse files Browse the repository at this point in the history
Move the pcibios_assign_resources() fs_initcall annotation next to the
function definition.  No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Bjorn Helgaas committed May 23, 2014
1 parent 44c8bdb commit adc429d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/x86/pci/i386.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@ static int __init pcibios_assign_resources(void)
return 0;
}

/**
* called in fs_initcall (one below subsys_initcall),
* give a chance for motherboard reserve resources
*/
fs_initcall(pcibios_assign_resources);

void pcibios_resource_survey_bus(struct pci_bus *bus)
{
dev_printk(KERN_DEBUG, &bus->dev, "Allocating resources\n");
Expand Down Expand Up @@ -397,12 +403,6 @@ void __init pcibios_resource_survey(void)
ioapic_insert_resources();
}

/**
* called in fs_initcall (one below subsys_initcall),
* give a chance for motherboard reserve resources
*/
fs_initcall(pcibios_assign_resources);

static const struct vm_operations_struct pci_mmap_ops = {
.access = generic_access_phys,
};
Expand Down

0 comments on commit adc429d

Please sign in to comment.