summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include
diff options
context:
space:
mode:
authorThippeswamy Havalige <thippeswamy.havalige@amd.com>2022-10-25 08:52:05 +0200
committerMichal Simek <michal.simek@amd.com>2022-11-25 11:39:22 +0100
commitfc6dd9c446f2e5273e2584b735b8d3e0d1d15924 (patch)
tree9c5e6ef1d7319b45eaad5acc1ef83bceeb8de5d0 /arch/microblaze/include
parentmicroblaze/PCI: Remove unused PCI bus scan if configured as a host (diff)
downloadlinux-fc6dd9c446f2e5273e2584b735b8d3e0d1d15924.tar.xz
linux-fc6dd9c446f2e5273e2584b735b8d3e0d1d15924.zip
microblaze/PCI: Remove unused PCI legacy IO's access on a bus
Remove PCI legacy read,write and mmap access IO's on a bus Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com> Link: https://lore.kernel.org/r/20221025065214.4663-5-thippeswamy.havalige@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/microblaze/include')
-rw-r--r--arch/microblaze/include/asm/pci.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h
index d90528064604..34337e2a63c0 100644
--- a/arch/microblaze/include/asm/pci.h
+++ b/arch/microblaze/include/asm/pci.h
@@ -48,16 +48,6 @@ struct vm_area_struct;
#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
#define arch_can_pci_mmap_io() 1
-extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val,
- size_t count);
-extern int pci_legacy_write(struct pci_bus *bus, loff_t port, u32 val,
- size_t count);
-extern int pci_mmap_legacy_page_range(struct pci_bus *bus,
- struct vm_area_struct *vma,
- enum pci_mmap_state mmap_state);
-
-#define HAVE_PCI_LEGACY 1
-
extern void pcibios_resource_survey(void);
struct file;