diff options
| author | Anup Patel <anup.patel@oss.qualcomm.com> | 2026-02-13 11:23:35 +0530 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2026-03-22 10:52:40 +0530 |
| commit | 51837c731b017bd59b91963aba1dc13691ac07dd (patch) | |
| tree | d8616593eb2995786726f00b25bad9503f7a6974 /include | |
| parent | 6d5b2b9b056826e072c387a068e3f8e6700b5cae (diff) | |
| download | opensbi-51837c731b017bd59b91963aba1dc13691ac07dd.tar.gz opensbi-51837c731b017bd59b91963aba1dc13691ac07dd.tar.bz2 opensbi-51837c731b017bd59b91963aba1dc13691ac07dd.zip | |
lib: sbi_irqchip: Use chip as variable name for irqchip device
The irqchip device represents an interrupt controller so use chip
as variable name instead of dev. This will avoid confusion as the
sbi_irqchip framework grows.
Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260213055342.3124872-2-anup.patel@oss.qualcomm.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/sbi_irqchip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sbi/sbi_irqchip.h b/include/sbi/sbi_irqchip.h index e0ae12f5..97332248 100644 --- a/include/sbi/sbi_irqchip.h +++ b/include/sbi/sbi_irqchip.h @@ -21,7 +21,7 @@ struct sbi_irqchip_device { struct sbi_dlist node; /** Initialize per-hart state for the current hart */ - int (*warm_init)(struct sbi_irqchip_device *dev); + int (*warm_init)(struct sbi_irqchip_device *chip); /** Handle an IRQ from this irqchip */ int (*irq_handle)(void); @@ -38,7 +38,7 @@ struct sbi_irqchip_device { int sbi_irqchip_process(void); /** Register an irqchip device to receive callbacks */ -void sbi_irqchip_add_device(struct sbi_irqchip_device *dev); +void sbi_irqchip_add_device(struct sbi_irqchip_device *chip); /** Initialize interrupt controllers */ int sbi_irqchip_init(struct sbi_scratch *scratch, bool cold_boot); |
