diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-01-13 22:17:04 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-16 08:36:18 +0100 |
commit | c3c5a5f51300e34581ab76c6b078dc9637b5c4ce (patch) | |
tree | fe3f612a4a9af5157350851f058cfcb740b0d8be /include | |
parent | bebb18084c5c906a42af405315adbd3beb2e40bd (diff) | |
download | barebox-c3c5a5f51300e34581ab76c6b078dc9637b5c4ce.tar.gz barebox-c3c5a5f51300e34581ab76c6b078dc9637b5c4ce.tar.xz |
PCI: Drop "ops" from struct pci_bus
Drop "ops" from struct pci_bus, since the same struct can be accessed
via host->pci_ops. No functional change intended.
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index a519a9dc81..b609a1330b 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -131,8 +131,6 @@ struct pci_bus { struct list_head devices; /* list of devices on this bus */ struct resource *resource[PCI_BRIDGE_RESOURCE_NUM]; - struct pci_ops *ops; /* configuration access functions */ - unsigned char number; /* bus number */ unsigned char primary; /* number of primary bridge */ unsigned char secondary; /* number of secondary bridge */ |