Skip to content

Commit adc429d

Browse files
committed
x86/PCI: Move pcibios_assign_resources() annotation to definition
Move the pcibios_assign_resources() fs_initcall annotation next to the function definition. No functional change. Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent 44c8bdb commit adc429d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/x86/pci/i386.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ static int __init pcibios_assign_resources(void)
361361
return 0;
362362
}
363363

364+
/**
365+
* called in fs_initcall (one below subsys_initcall),
366+
* give a chance for motherboard reserve resources
367+
*/
368+
fs_initcall(pcibios_assign_resources);
369+
364370
void pcibios_resource_survey_bus(struct pci_bus *bus)
365371
{
366372
dev_printk(KERN_DEBUG, &bus->dev, "Allocating resources\n");
@@ -397,12 +403,6 @@ void __init pcibios_resource_survey(void)
397403
ioapic_insert_resources();
398404
}
399405

400-
/**
401-
* called in fs_initcall (one below subsys_initcall),
402-
* give a chance for motherboard reserve resources
403-
*/
404-
fs_initcall(pcibios_assign_resources);
405-
406406
static const struct vm_operations_struct pci_mmap_ops = {
407407
.access = generic_access_phys,
408408
};

0 commit comments

Comments
 (0)