diff --git a/app/drivers/display/il0323.c b/app/drivers/display/il0323.c index 6c5a1549..191f03c6 100644 --- a/app/drivers/display/il0323.c +++ b/app/drivers/display/il0323.c @@ -463,8 +463,5 @@ static struct display_driver_api il0323_driver_api = { .set_orientation = il0323_set_orientation, }; - -DEVICE_AND_API_INIT(il0323, DT_INST_LABEL(0), il0323_init, - &il0323_driver, NULL, - POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY, - &il0323_driver_api); \ No newline at end of file +DEVICE_DT_INST_DEFINE(0, il0323_init, device_pm_control_nop, &il0323_driver, NULL, + POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY, &il0323_driver_api); \ No newline at end of file