diff options
author | Thippeswamy Havalige <thippeswamy.havalige@amd.com> | 2022-10-25 08:52:08 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-11-25 11:39:22 +0100 |
commit | 7df700afd9c4855617e9a102518bd988395eb249 (patch) | |
tree | 1108c3a6784952f0acb4a3fbc283b3fe5cfbc1a8 /arch/microblaze/include/asm | |
parent | microblaze/PCI: Remove unused allocation & free of PCI host bridge structure (diff) | |
download | linux-7df700afd9c4855617e9a102518bd988395eb249.tar.xz linux-7df700afd9c4855617e9a102518bd988395eb249.zip |
microblaze/PCI: Remove unused PCI BIOS resource allocation
Remove PCI BIOSn unused code which provide's resource allocation for
all pci bus and pci host controller memory initialization.
Signed-off-by: Thippeswamy Havalige <thippeswamy.havalige@amd.com>
Link: https://lore.kernel.org/r/20221025065214.4663-8-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.h | 2 | ||||
-rw-r--r-- | arch/microblaze/include/asm/pci.h | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/arch/microblaze/include/asm/pci-bridge.h b/arch/microblaze/include/asm/pci-bridge.h index 018c632abcf8..170369dcdbff 100644 --- a/arch/microblaze/include/asm/pci-bridge.h +++ b/arch/microblaze/include/asm/pci-bridge.h @@ -74,8 +74,6 @@ struct pci_controller { * ranges since the common pci_bus structure can't handle more */ struct resource io_resource; - struct resource mem_resources[3]; - int global_number; /* PCI domain number */ }; #ifdef CONFIG_PCI diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h index 34337e2a63c0..6da7523d9613 100644 --- a/arch/microblaze/include/asm/pci.h +++ b/arch/microblaze/include/asm/pci.h @@ -28,8 +28,6 @@ #define IOBASE_ISA_IO 3 #define IOBASE_ISA_MEM 4 -#define pcibios_scan_all_fns(a, b) 0 - /* * Set this to 1 if you want the kernel to re-assign all PCI * bus numbers (don't do that on ppc64 yet !) @@ -48,8 +46,6 @@ struct vm_area_struct; #define ARCH_GENERIC_PCI_MMAP_RESOURCE 1 #define arch_can_pci_mmap_io() 1 -extern void pcibios_resource_survey(void); - struct file; /* This part of code was originally in xilinx-pci.h */ |