From 9b56312f9ac0ce81a37a6daac09c942e784abda1 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Fri, 31 Jul 2020 14:09:52 +0200 Subject: [PATCH] dpl: Device instance are all constant now Switching device parameter to constant. Signed-off-by: Tomasz Bursztyka --- simplelink/kernel/zephyr/dpl/dpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simplelink/kernel/zephyr/dpl/dpl.c b/simplelink/kernel/zephyr/dpl/dpl.c index 39f3ef2..d147ac1 100644 --- a/simplelink/kernel/zephyr/dpl/dpl.c +++ b/simplelink/kernel/zephyr/dpl/dpl.c @@ -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 * 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, SPAWN_TASK_STACKSIZE, spawn_task,