summaryrefslogtreecommitdiff
path: root/drivers/nvme/nvme_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvme/nvme_pci.c')
-rw-r--r--drivers/nvme/nvme_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/nvme_pci.c b/drivers/nvme/nvme_pci.c
index 3499a7b6e7..36bf9c5ffb 100644
--- a/drivers/nvme/nvme_pci.c
+++ b/drivers/nvme/nvme_pci.c
@@ -29,7 +29,7 @@ static int nvme_probe(struct udevice *udev)
ndev->instance = trailing_strtol(udev->name);
ndev->bar = dm_pci_map_bar(udev, PCI_BASE_ADDRESS_0, 0, 0,
- PCI_REGION_MEM);
+ PCI_REGION_TYPE, PCI_REGION_MEM);
return nvme_init(udev);
}