diff options
author | Thippeswamy Havalige <thippeswamy.havalige@amd.com> | 2022-10-25 08:52:02 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-11-25 11:39:22 +0100 |
commit | 68db4e9e5fcd3509cbd7f6bdc226ee761c140a24 (patch) | |
tree | cd3c11d61c1ebb76c46d219ea7cef3266b6a10bc /arch/microblaze/include/asm/pci-bridge.h | |
parent | Linux 6.1-rc1 (diff) | |
download | linux-68db4e9e5fcd3509cbd7f6bdc226ee761c140a24.tar.xz linux-68db4e9e5fcd3509cbd7f6bdc226ee761c140a24.zip |
microblaze/PCI: Remove unused early_read_config_byte() et al declarations
early_read_config_byte() and similar are declared but never defined.
Remove the unused declarations.
Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com>
Link: https://lore.kernel.org/r/20221025065214.4663-2-thippeswamy.havalige@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/microblaze/include/asm/pci-bridge.h')
-rw-r--r-- | arch/microblaze/include/asm/pci-bridge.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/microblaze/include/asm/pci-bridge.h b/arch/microblaze/include/asm/pci-bridge.h index 171b40a2d905..a9d3940879c1 100644 --- a/arch/microblaze/include/asm/pci-bridge.h +++ b/arch/microblaze/include/asm/pci-bridge.h @@ -103,24 +103,6 @@ static inline int isa_vaddr_is_ioport(void __iomem *address) } #endif /* CONFIG_PCI */ -/* These are used for config access before all the PCI probing - has been done. */ -extern int early_read_config_byte(struct pci_controller *hose, int bus, - int dev_fn, int where, u8 *val); -extern int early_read_config_word(struct pci_controller *hose, int bus, - int dev_fn, int where, u16 *val); -extern int early_read_config_dword(struct pci_controller *hose, int bus, - int dev_fn, int where, u32 *val); -extern int early_write_config_byte(struct pci_controller *hose, int bus, - int dev_fn, int where, u8 val); -extern int early_write_config_word(struct pci_controller *hose, int bus, - int dev_fn, int where, u16 val); -extern int early_write_config_dword(struct pci_controller *hose, int bus, - int dev_fn, int where, u32 val); - -extern int early_find_capability(struct pci_controller *hose, int bus, - int dev_fn, int cap); - extern void setup_indirect_pci(struct pci_controller *hose, resource_size_t cfg_addr, resource_size_t cfg_data, u32 flags); |