diff options
Diffstat (limited to 'drivers/misc/cxl/pci.c')
| -rw-r--r-- | drivers/misc/cxl/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c index c68ef5806dbe..32ad09705949 100644 --- a/drivers/misc/cxl/pci.c +++ b/drivers/misc/cxl/pci.c | |||
| @@ -539,7 +539,7 @@ err: | |||
| 539 | 539 | ||
| 540 | static void cxl_unmap_slice_regs(struct cxl_afu *afu) | 540 | static void cxl_unmap_slice_regs(struct cxl_afu *afu) |
| 541 | { | 541 | { |
| 542 | if (afu->p1n_mmio) | 542 | if (afu->p2n_mmio) |
| 543 | iounmap(afu->p2n_mmio); | 543 | iounmap(afu->p2n_mmio); |
| 544 | if (afu->p1n_mmio) | 544 | if (afu->p1n_mmio) |
| 545 | iounmap(afu->p1n_mmio); | 545 | iounmap(afu->p1n_mmio); |
