summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-01-13 22:17:09 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-16 08:36:18 +0100
commit3701a58eb9c81820d955d63c7a03e873baf86cae (patch)
tree0b46d300b3adadf0e0890d040e269f5fea83dd43 /include/linux
parentb8eee7085c1ee2aabbdbbd81514ab447951f535b (diff)
downloadbarebox-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/linux')
-rw-r--r--include/linux/pci.h2
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;