projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07a5887
)
dm: pci: Add a comment about how to find struct pci_controller
author
Simon Glass
<sjg@chromium.org>
Fri, 27 Nov 2015 02:51:21 +0000
(19:51 -0700)
committer
Simon Glass
<sjg@chromium.org>
Tue, 1 Dec 2015 13:26:37 +0000
(06:26 -0700)
With driver mode, struct pci_controller is stored as uclass-private data.
Add a comment to that effect.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/pci.h
patch
|
blob
|
history
diff --git
a/include/pci.h
b/include/pci.h
index 9c1948226fd3e1a4a0e0eb6bb38e50c3ff2f8e10..c4f657784be52bb6a6779502bc2206d549489ab5 100644
(file)
--- a/
include/pci.h
+++ b/
include/pci.h
@@
-537,6
+537,8
@@
extern void pci_cfgfunc_config_device(struct pci_controller* hose, pci_dev_t dev
/*
* Structure of a PCI controller (host bridge)
+ *
+ * With driver model this is dev_get_uclass_priv(bus)
*/
struct pci_controller {
#ifdef CONFIG_DM_PCI