mirror of
https://github.com/fpganinja/taxi.git
synced 2026-01-18 01:30:36 -08:00
cndm: Register regions with the instance name instead of the module name
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -206,7 +206,7 @@ static int cndm_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|||||||
|
|
||||||
pci_set_master(pdev);
|
pci_set_master(pdev);
|
||||||
|
|
||||||
ret = pci_request_regions(pdev, DRIVER_NAME);
|
ret = pci_request_regions(pdev, cdev->name);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "Failed to reserve regions");
|
dev_err(dev, "Failed to reserve regions");
|
||||||
goto fail_regions;
|
goto fail_regions;
|
||||||
|
|||||||
Reference in New Issue
Block a user