| #include <linux/tables.h> | |
| #include <asm/x86_init_fn.h> | |
| #include <asm/bootparam.h> | |
| #include <linux/pci.h> | |
| DECLARE_LINKTABLE_RO(struct pci_fixup, pci_fixup_early); | |
| void early_init_pci(void) { | |
| const struct pci_fixup *fixup; | |
| sleep(1); | |
| LINKTABLE_FOR_EACH(fixup, pci_fixup_early) | |
| fixup->hook(); | |
| } | |
| bool detect_pci(void) { | |
| return true; | |
| } | |
| X86_INIT_EARLY_ALL(pci, detect_pci, NULL, early_init_pci, NULL, NULL); |