Skip to content
Commit e3ae110a authored by Sophie Tyalie's avatar Sophie Tyalie Committed by Anas Nashif
Browse files

fix: doc: in kernel/drivers interrupts function had mismatching types



The typedef defines an interrupt config routine with `const struct device
*dev`, while the example function had (void) as argument. This could be
considered confusing / would throw compiler warnings even though the
parameter isn't strictly necessary.

Code examples for initializing an IRQ in a device example follow the
updated pattern (e.g. see `drivers/serial/uart_npcx.c`).

Signed-off-by: default avatarSophie Tyalie <dev@flowerpot.me>
parent 244f623f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment