summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorLeo Liu <liucai.lfn@gmail.com>2011-01-19 19:50:47 +0800
committerKim Phillips <kim.phillips@freescale.com>2011-02-05 17:01:52 -0600
commit10fa8d7c703b564bcbdaa2345442e30483c01f98 (patch)
tree064ca556baf861a0450960eed42bf51c050e394f /include/pci.h
parentf69b980d108b5f15ca7dd3f4284d5a66488c3625 (diff)
mpc83xx: fix pcie configuration space read/write
This patch fix a problem for the pcie enumeration when the mpc83xx pcie controller is connected with switch or we use both of the two pcie controller. Signed-off-by: Leo Liu <liucai.lfn@gmail.com> fix codingstyle and compiler warning: 'pcie_priv' defined but not used Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h
index e80b6bdf506..c6b264bdb5f 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -420,6 +420,8 @@ struct pci_controller {
/* Used by ppc405 autoconfig*/
struct pci_region *pci_fb;
int current_busno;
+
+ void *priv_data;
};
extern __inline__ void pci_set_ops(struct pci_controller *hose,