aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pci-direct.h
diff options
context:
space:
mode:
authorSinan Kaya <okaya@codeaurora.org>2018-06-04 22:16:09 -0400
committerBjorn Helgaas <helgaas@kernel.org>2018-06-29 20:06:07 -0500
commit11eb0e0e8dea8b97cff972b09cf6fb033b729dff (patch)
tree84ca9d5c2ae77c4bb21984c68469b75c37eb80ad /arch/x86/include/asm/pci-direct.h
parentPCI: Cleanup PCI_REBAR_CTRL_BAR_SHIFT handling (diff)
downloadlinux-dev-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.tar.xz
linux-dev-11eb0e0e8dea8b97cff972b09cf6fb033b729dff.zip
PCI: Make early dump functionality generic
Move early dump functionality into common code so that it is available for all architectures. No need to carry arch-specific reads around as the read hooks are already initialized by the time pci_setup_device() is getting called during scan. Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Sinan Kaya <okaya@codeaurora.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Diffstat (limited to 'arch/x86/include/asm/pci-direct.h')
-rw-r--r--arch/x86/include/asm/pci-direct.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/pci-direct.h b/arch/x86/include/asm/pci-direct.h
index e1084f71a295..94597a3cf3d0 100644
--- a/arch/x86/include/asm/pci-direct.h
+++ b/arch/x86/include/asm/pci-direct.h
@@ -15,8 +15,4 @@ extern void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val);
extern void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val);
extern int early_pci_allowed(void);
-
-extern unsigned int pci_early_dump_regs;
-extern void early_dump_pci_device(u8 bus, u8 slot, u8 func);
-extern void early_dump_pci_devices(void);
#endif /* _ASM_X86_PCI_DIRECT_H */