summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/irq-renesas-rzg2l.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>2023-11-20 13:18:15 +0200
committerThomas Gleixner <tglx@linutronix.de>2023-12-12 15:40:41 +0100
commitb94f455372ad6e6b4da8e8ed9864d9c7daaf54b8 (patch)
tree79f0311127d5849761ee72c204ab43aae76fc9b0 /drivers/irqchip/irq-renesas-rzg2l.c
parent02f6507640173addeeb3af035d2c6f0b3cff1567 (diff)
downloadlinux-b94f455372ad6e6b4da8e8ed9864d9c7daaf54b8.tar.gz
linux-b94f455372ad6e6b4da8e8ed9864d9c7daaf54b8.tar.bz2
linux-b94f455372ad6e6b4da8e8ed9864d9c7daaf54b8.zip
irqchip/renesas-rzg2l: Document structure members
Document structure members to follow the requirements specified in maintainer-tip, section 4.3.7. Struct declarations and initializers. Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20231120111820.87398-5-claudiu.beznea.uj@bp.renesas.com
Diffstat (limited to 'drivers/irqchip/irq-renesas-rzg2l.c')
-rw-r--r--drivers/irqchip/irq-renesas-rzg2l.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-renesas-rzg2l.c b/drivers/irqchip/irq-renesas-rzg2l.c
index 90971ab06f0c..0a77927b678b 100644
--- a/drivers/irqchip/irq-renesas-rzg2l.c
+++ b/drivers/irqchip/irq-renesas-rzg2l.c
@@ -56,6 +56,12 @@
#define TINT_EXTRACT_HWIRQ(x) FIELD_GET(GENMASK(15, 0), (x))
#define TINT_EXTRACT_GPIOINT(x) FIELD_GET(GENMASK(31, 16), (x))
+/**
+ * struct rzg2l_irqc_priv - IRQ controller private data structure
+ * @base: Controller's base address
+ * @fwspec: IRQ firmware specific data
+ * @lock: Lock to serialize access to hardware registers
+ */
struct rzg2l_irqc_priv {
void __iomem *base;
struct irq_fwspec fwspec[IRQC_NUM_IRQ];