X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/8efc0cf32160c68772a2ce1887e6a397852d3d96..6f6da1abb22dff69dbb710bd2fd9d95f083f2b43:/lunaix-os/hal/pci.c?ds=sidebyside diff --git a/lunaix-os/hal/pci.c b/lunaix-os/hal/pci.c index 9ac45d5..3859e0c 100644 --- a/lunaix-os/hal/pci.c +++ b/lunaix-os/hal/pci.c @@ -63,7 +63,7 @@ found: device->cspace_base = pci_base; device->intr_info = intr; - device_prepare(&device->dev); + device_prepare(&device->dev, &pos->devdef.class); pci_probe_msi_info(device); pci_probe_bar_info(device);