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:
Tomasz Bursztyka 2020-07-31 14:09:52 +02:00
parent d151955235
commit 9b56312f9a
1 changed files with 1 additions and 1 deletions

View File

@ -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,