feat: owloysius - dynamic init function invocator
[lunaix-os.git] / lunaix-os / hal / rng / rngx86.c
index 5c12ca662c6d95ef19e5c008d84e2427c3e1bde0..2dd6d089ba5e42b513c5c1d95ca075697a659ff4 100644 (file)
@@ -35,7 +35,7 @@ pdev_randdev_init(struct device_def* devdef)
     devrand->ops.read = __rand_rd;
     devrand->ops.read_page = __rand_rd_pg;
 
-    device_register(devrand, &devdef->class, "rand");
+    register_device(devrand, &devdef->class, "rand");
 
     return 0;
 }