Fix to account for deprecated DT API in Zephyr 2.5
This commit is contained in:
parent
c947882809
commit
85a2079fd8
1 changed files with 2 additions and 5 deletions
|
@ -463,8 +463,5 @@ static struct display_driver_api il0323_driver_api = {
|
||||||
.set_orientation = il0323_set_orientation,
|
.set_orientation = il0323_set_orientation,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
DEVICE_DT_INST_DEFINE(0, il0323_init, device_pm_control_nop, &il0323_driver, NULL,
|
||||||
DEVICE_AND_API_INIT(il0323, DT_INST_LABEL(0), il0323_init,
|
POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY, &il0323_driver_api);
|
||||||
&il0323_driver, NULL,
|
|
||||||
POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY,
|
|
||||||
&il0323_driver_api);
|
|
Loading…
Add table
Reference in a new issue