diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-01-13 22:17:09 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-16 08:36:18 +0100 |
commit | 3701a58eb9c81820d955d63c7a03e873baf86cae (patch) | |
tree | 0b46d300b3adadf0e0890d040e269f5fea83dd43 /include | |
parent | b8eee7085c1ee2aabbdbbd81514ab447951f535b (diff) | |
download | barebox-3701a58eb9c81820d955d63c7a03e873baf86cae.tar.gz barebox-3701a58eb9c81820d955d63c7a03e873baf86cae.tar.xz |
PCI: Consify pci_ops in struct pci_controller
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, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index c00a866a48..478f10207a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -158,7 +158,7 @@ struct pci_controller { struct device_d *parent; struct pci_bus *bus; - struct pci_ops *pci_ops; + const struct pci_ops *pci_ops; struct resource *mem_resource; struct resource *mem_pref_resource; unsigned long mem_offset; |