feat: serial device interfacing
[lunaix-os.git] / lunaix-os / hal / char / devnull.c
index 12bd00749b264b660b1c7ae4941a63753f4bfa25..0bdf99c25e4faf36fa5cbea0cc0423cd7edbe3f6 100644 (file)
@@ -43,7 +43,7 @@ pdev_nulldev_init(struct device_def*)
 
 static struct device_def devnull_def = {
     .name = "null",
 
 static struct device_def devnull_def = {
     .name = "null",
-    .class = DEVCLASS(DEVIF_NON, DEVFN_PSEUDO, 0, 0),
+    .class = DEVCLASS(DEVIF_NON, DEVFN_PSEUDO, DEV_BUILTIN, 0),
     .init = pdev_nulldev_init
 };
 EXPORT_DEVICE(nulldev, &devnull_def, load_earlystage);
     .init = pdev_nulldev_init
 };
 EXPORT_DEVICE(nulldev, &devnull_def, load_earlystage);