diff options
author | Thippeswamy Havalige <thippeswamy.havalige@amd.com> | 2022-10-25 09:52:11 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-11-25 13:39:23 +0300 |
commit | 3604ef61f18ae024b4bf2686361965469f9ff805 (patch) | |
tree | 5590c0d83aca04f00023a234fe52a8a01b0329a7 /arch/microblaze/include | |
parent | 68c9858bf823514ead6cbff3f1d66a9998893af8 (diff) | |
download | linux-3604ef61f18ae024b4bf2686361965469f9ff805.tar.xz |
microblaze/PCI: Remove unused sys_pciconfig_iobase() and et al declaration
Removed unused code which provides information of various
I/O regions.
Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com>
Link: https://lore.kernel.org/r/20221025065214.4663-11-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-bridge.h | 8 | ||||
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/arch/microblaze/include/asm/pci-bridge.h b/arch/microblaze/include/asm/pci-bridge.h index cd9ae71348a4..9c89ae4cdc00 100644 --- a/arch/microblaze/include/asm/pci-bridge.h +++ b/arch/microblaze/include/asm/pci-bridge.h @@ -29,17 +29,9 @@ struct pci_controller { struct list_head list_node; struct device *parent; - int first_busno; - int last_busno; - void __iomem *io_base_virt; resource_size_t io_base_phys; - /* Some machines (PReP) have a non 1:1 mapping of - * the PCI memory space in the CPU bus space - */ - resource_size_t pci_mem_offset; - /* 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 6da7523d9613..52d572dd41ba 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h @@ -21,13 +21,6 @@ #define PCIBIOS_MIN_IO 0x1000 #define PCIBIOS_MIN_MEM 0x10000000 -/* Values for the `which' argument to sys_pciconfig_iobase syscall. */ -#define IOBASE_BRIDGE_NUMBER 0 -#define IOBASE_MEMORY 1 -#define IOBASE_IO 2 -#define IOBASE_ISA_IO 3 -#define IOBASE_ISA_MEM 4 - /* * Set this to 1 if you want the kernel to re-assign all PCI * bus numbers (don't do that on ppc64 yet !) |