drivers: display: ls0xx: fix compiler warning
Fix a compiler warning introduced in 0fa2c45037
:
/zephyr/drivers/display/ls0xx.c: In function 'ls0xx_init':
/zephyr/drivers/display/ls0xx.c:294:9: error: passing argument 5 of
'k_thread_create' discards 'const' qualifier from pointer target type
[-Werror=discarded-qualifiers]
294 | config, NULL, NULL,
| ^~~~~~
Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
This commit is contained in:
parent
1b370eead8
commit
824bb337d5
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ static int ls0xx_init(const struct device *dev)
|
||||||
vcom_toggle_stack,
|
vcom_toggle_stack,
|
||||||
K_THREAD_STACK_SIZEOF(vcom_toggle_stack),
|
K_THREAD_STACK_SIZEOF(vcom_toggle_stack),
|
||||||
ls0xx_vcom_toggle,
|
ls0xx_vcom_toggle,
|
||||||
config, NULL, NULL,
|
(void *)config, NULL, NULL,
|
||||||
3, 0, K_NO_WAIT);
|
3, 0, K_NO_WAIT);
|
||||||
k_thread_name_set(vcom_toggle_tid, "ls0xx_vcom");
|
k_thread_name_set(vcom_toggle_tid, "ls0xx_vcom");
|
||||||
#endif /* DT_INST_NODE_HAS_PROP(0, extcomin_gpios) */
|
#endif /* DT_INST_NODE_HAS_PROP(0, extcomin_gpios) */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue