Fix to account for deprecated DT API in Zephyr 2.5

This commit is contained in:
Darryldh 2021-08-06 13:17:11 -04:00
parent c947882809
commit 85a2079fd8

View file

@ -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);
DEVICE_DT_INST_DEFINE(0, il0323_init, device_pm_control_nop, &il0323_driver, NULL,
POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY, &il0323_driver_api);