diff options
Diffstat (limited to 'drivers/misc/cxl/vphb.c')
-rw-r--r-- | drivers/misc/cxl/vphb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cxl/vphb.c b/drivers/misc/cxl/vphb.c index e8a8eed6f006..baa408748300 100644 --- a/drivers/misc/cxl/vphb.c +++ b/drivers/misc/cxl/vphb.c | |||
@@ -248,7 +248,7 @@ int cxl_pci_vphb_add(struct cxl_afu *afu) | |||
248 | 248 | ||
249 | /* Setup the PHB using arch provided callback */ | 249 | /* Setup the PHB using arch provided callback */ |
250 | phb->ops = &cxl_pcie_pci_ops; | 250 | phb->ops = &cxl_pcie_pci_ops; |
251 | phb->cfg_addr = afu->afu_desc_mmio + afu->crs_offset; | 251 | phb->cfg_addr = afu->native->afu_desc_mmio + afu->crs_offset; |
252 | phb->cfg_data = (void *)(u64)afu->crs_len; | 252 | phb->cfg_data = (void *)(u64)afu->crs_len; |
253 | phb->private_data = afu; | 253 | phb->private_data = afu; |
254 | phb->controller_ops = cxl_pci_controller_ops; | 254 | phb->controller_ops = cxl_pci_controller_ops; |
@@ -278,7 +278,7 @@ void cxl_pci_vphb_reconfigure(struct cxl_afu *afu) | |||
278 | * and remapped. We need to reflect this in the PHB's view of | 278 | * and remapped. We need to reflect this in the PHB's view of |
279 | * the world. | 279 | * the world. |
280 | */ | 280 | */ |
281 | afu->phb->cfg_addr = afu->afu_desc_mmio + afu->crs_offset; | 281 | afu->phb->cfg_addr = afu->native->afu_desc_mmio + afu->crs_offset; |
282 | } | 282 | } |
283 | 283 | ||
284 | void cxl_pci_vphb_remove(struct cxl_afu *afu) | 284 | void cxl_pci_vphb_remove(struct cxl_afu *afu) |