Skip to content

Commit

Permalink
core: interrupts: fix inline comment typo on DT property name
Browse files Browse the repository at this point in the history
Fix DT property named "interrupts-extended", mistakenly named
"extended-interrupts" in interrupt API function inline description
comments.

Fixes: 33a0c83 ("core: interrupt: registering interrupt providers")
Signed-off-by: Etienne Carriere <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
Acked-by: Jens Wiklander <[email protected]>
  • Loading branch information
etienne-lms authored and jforissier committed May 24, 2024
1 parent 7921973 commit 2e6b9fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/include/kernel/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ TEE_Result interrupt_register_provider(const void *fdt, int node,
*
* @fdt Device tree to work on
* @node Node offset of the subnode containing interrupt(s) references
* @index Index in "interrupts" or "extended-interrupts" property list
* @index Index in "interrupts" or "interrupts-extended" property list
* @chip Output interrupt controller reference upon success
* @itr_num Output interrupt number upon success
*
Expand Down Expand Up @@ -533,7 +533,7 @@ static inline TEE_Result interrupt_dt_get_by_name(const void *fdt __unused,

/*
* Helper function for when caller retrieves the first interrupt defined
* in "interrupts" or "extended-interrupts" DT binding property list.
* in "interrupts" or "interrupts-extended" DT binding property list.
*/
static inline TEE_Result interrupt_dt_get(const void *fdt, int node,
struct itr_chip **chip,
Expand Down

0 comments on commit 2e6b9fc

Please sign in to comment.