X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/a8b800d1691263aa73054449b1721c1ec9516496..0f73e6cc9945f9b4a074bb62b9708d1751fa3723:/lunaix-os/hal/gfxa/vga/vga_pci.c diff --git a/lunaix-os/hal/gfxa/vga/vga_pci.c b/lunaix-os/hal/gfxa/vga/vga_pci.c index 5d4ed8d..fe77652 100644 --- a/lunaix-os/hal/gfxa/vga/vga_pci.c +++ b/lunaix-os/hal/gfxa/vga/vga_pci.c @@ -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