lint: use correct type signature for Zephyr callbacks

This commit is contained in:
Chris Andreae
2023-12-18 23:07:40 +09:00
committed by Pete Johanson
parent 7a5155f36e
commit b8cb407351
3 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ struct k_work_q *zmk_workqueue_lowprio_work_q(void) {
return &lowprio_work_q;
}
static int workqueue_init(void) {
static int workqueue_init(const struct device *_device) {
static const struct k_work_queue_config queue_config = {.name = "Low Priority Work Queue"};
k_work_queue_start(&lowprio_work_q, lowprio_q_stack, K_THREAD_STACK_SIZEOF(lowprio_q_stack),
CONFIG_ZMK_LOW_PRIORITY_THREAD_PRIORITY, &queue_config);