summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm
diff options
context:
space:
mode:
authorThippeswamy Havalige <thippeswamy.havalige@amd.com>2022-10-25 12:22:12 +0530
committerMichal Simek <michal.simek@amd.com>2022-11-25 11:39:23 +0100
commitcb0199c70ee1065c9c9f121e3508833f3ee11cd1 (patch)
tree64c46cc7834193894aabe34d12b30000870a9bb5 /arch/microblaze/include/asm
parent3604ef61f18ae024b4bf2686361965469f9ff805 (diff)
microblaze/PCI: Remove unused pci_iobar_pfn() and et al declarations
Remove unused pci_iobar_pfn() and et al declarations. Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com> Link: https://lore.kernel.org/r/20221025065214.4663-12-thippeswamy.havalige@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r--arch/microblaze/include/asm/pci-bridge.h2
-rw-r--r--arch/microblaze/include/asm/pci.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/pci-bridge.h b/arch/microblaze/include/asm/pci-bridge.h
index 9c89ae4cdc00..5db2c6605720 100644
--- a/arch/microblaze/include/asm/pci-bridge.h
+++ b/arch/microblaze/include/asm/pci-bridge.h
@@ -27,10 +27,8 @@ struct pci_controller {
struct pci_bus *bus;
struct device_node *dn;
struct list_head list_node;
- struct device *parent;
void __iomem *io_base_virt;
- resource_size_t io_base_phys;
/* Currently, we limit ourselves to 1 IO range and 3 mem
* ranges since the common pci_bus structure can't handle more
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h
index 52d572dd41ba..a75bf3b19035 100644
--- a/arch/microblaze/include/asm/pci.h
+++ b/arch/microblaze/include/asm/pci.h
@@ -32,12 +32,9 @@ extern int pci_domain_nr(struct pci_bus *bus);
/* Decide whether to display the domain number in /proc */
extern int pci_proc_domain(struct pci_bus *bus);
-struct vm_area_struct;
-
/* Tell PCI code what kind of PCI resource mappings we support */
#define HAVE_PCI_MMAP 1
#define ARCH_GENERIC_PCI_MMAP_RESOURCE 1
-#define arch_can_pci_mmap_io() 1
struct file;