diff --git a/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c b/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c index 97c6e8340ae..80de55540aa 100644 --- a/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c +++ b/samples/application_development/out_of_tree_driver/hello_world_module/zephyr/hello_world_driver.c @@ -43,6 +43,6 @@ static inline void z_vrfy_hello_world_print(const struct device *dev) DEVICE_DEFINE(hello_world, "CUSTOM_DRIVER", - init, device_pm_control_nop, &data, NULL, + init, NULL, &data, NULL, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &((struct hello_world_driver_api){ .print = print_impl }));