feat: standard vga support (mode switching, framebuffer remapping)
[lunaix-os.git] / lunaix-os / hal / char / uart / 16550_pmio.c
index ed3a6186504b2210f6dcb7059145d218a143add2..9910051fa8f84d3dcbb8249b8d347c27439fc3a6 100644 (file)
@@ -97,7 +97,7 @@ upiom_init(struct device_def* def)
 }
 
 static struct device_def uart_pmio_def = {
-    .class = DEVCLASS(DEVIF_SOC, DEVFN_CHAR, DEV_SERIAL, 0),
+    .class = DEVCLASS(DEVIF_SOC, DEVFN_CHAR, DEV_UART16550),
     .name = "16550 Generic UART (I/O)",
     .init = upiom_init
 };