dpl: Device instance are all constant now
Switching device parameter to constant. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
d151955235
commit
9b56312f9a
|
@ -52,7 +52,7 @@ K_MSGQ_DEFINE(spawn_msgq, sizeof(tSimpleLinkSpawnMsg), SPAWN_QUEUE_SIZE,\
|
||||||
* SimpleLink does not have an init hook, so we export this function to
|
* SimpleLink does not have an init hook, so we export this function to
|
||||||
* be called early during system initialization.
|
* be called early during system initialization.
|
||||||
*/
|
*/
|
||||||
static int dpl_zephyr_init(struct device *port)
|
static int dpl_zephyr_init(const struct device *port)
|
||||||
{
|
{
|
||||||
(void)k_thread_create(&spawn_task_data, spawn_task_stack,
|
(void)k_thread_create(&spawn_task_data, spawn_task_stack,
|
||||||
SPAWN_TASK_STACKSIZE, spawn_task,
|
SPAWN_TASK_STACKSIZE, spawn_task,
|
||||||
|
|
Loading…
Reference in New Issue