summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pci.c b/core/pci.c
index 9c84b2f8..98f7970f 100644
--- a/core/pci.c
+++ b/core/pci.c
@@ -158,10 +158,10 @@ static struct pci_device *pci_scan_one(struct phb *phb, struct pci_device *paren
PCIDBG(phb, bdfn, "Probe success after CRS\n");
/* Perform a dummy write to the device in order for it to
-  * capture it's own bus number, so any subsequent error
-  * messages will be properly tagged
-  */
- pci_cfg_write32(phb, bdfn, 0, &vdid);
+ * capture it's own bus number, so any subsequent error
+ * messages will be properly tagged
+ */
+ pci_cfg_write32(phb, bdfn, 0, vdid);
pd = zalloc(sizeof(struct pci_device));
if (!pd) {
OpenPOWER on IntegriCloud