feat: support user-spcae pci rescan
[lunaix-os.git] / lunaix-os / hal / gfxa / vga / vga_pci.c
index 5d4ed8d3e100bcf1867d6d84c6171a05c7c98269..fe77652c7b01233dc55661e4b7901ba71f304a0b 100644 (file)
@@ -105,6 +105,6 @@ static struct pci_device_def vga_pci_devdef = {
     .ident_mask = PCI_MATCH_EXACT,
     .devdef = { .class = DEVCLASS(DEVIF_PCI, DEVFN_DISP, DEV_VGA),
                 .name = "Generic VGA",
-                .init_for = vga_pci_init }
+                .bind = vga_pci_init }
 };
 EXPORT_PCI_DEVICE(vga_pci, &vga_pci_devdef);
\ No newline at end of file