diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2024-03-26 11:07:41 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2024-04-02 10:38:57 +0200 |
commit | b920c76bc307edccff7e4eee41f015d4133b0158 (patch) | |
tree | 0b86145fd2e3e515a6b48a235b9557ca0778855c /include | |
parent | 0d0ae293d07ca36f1245ec2c5933a1c6e255ecfb (diff) | |
download | barebox-b920c76bc307edccff7e4eee41f015d4133b0158.tar.gz barebox-b920c76bc307edccff7e4eee41f015d4133b0158.tar.xz |
pci: drop resources from struct pci_bus
struct pci_bus has resources attached to it. They pointers are copied
from the pci_controller to the pci_bus and from there to the child
buses. Drop them and use the resources from the pci_controller directly.
Link: https://lore.barebox.org/20240326100746.471532-12-s.hauer@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 73117afa08..11a60f66a9 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -148,7 +148,6 @@ struct pci_bus { struct list_head node; /* node in list of buses */ struct list_head children; /* list of child buses */ struct list_head devices; /* list of devices on this bus */ - struct resource *resource[PCI_BRIDGE_RESOURCE_NUM]; unsigned char number; /* bus number */ unsigned char primary; /* number of primary bridge */ |