simplelink: dpl: Revert change to constant device instance

Temporarily revert the change from
9b56312f9a as zephyrproject-rtos#24873
is not yet merged, and without it, build errors would occur while
running sanitycheck.

Signed-off-by: Vincent Wan <vwan@ti.com>
This commit is contained in:
Vincent Wan 2020-08-26 11:08:03 -07:00 committed by Carles Cufí
parent adb7027102
commit deb246ade0
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
* be called early during system initialization.
*/
static int dpl_zephyr_init(const struct device *port)
static int dpl_zephyr_init(struct device *port)
{
(void)k_thread_create(&spawn_task_data, spawn_task_stack,
SPAWN_TASK_STACKSIZE, spawn_task,