diff options
| author | Jiri Slaby (SUSE) <[email protected]> | 2025-03-19 09:29:50 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-05-16 19:06:13 +0000 |
| commit | a10024e671d12c8125a8f31d08c67245f6dee16d (patch) | |
| tree | c4798874f07f501277b46e407fb7f6e4df42b5fd /drivers/net/dsa/microchip/ksz_common.c | |
| parent | Documentation: irqdomain: Update it (diff) | |
| download | kernel-a10024e671d12c8125a8f31d08c67245f6dee16d.tar.gz kernel-a10024e671d12c8125a8f31d08c67245f6dee16d.zip | |
irqdomain: Fix kernel-doc and add it to Documentation
irqdomain.c's kernel-doc exists, but is not plugged into Documentation/
yet.
Before plugging it in, fix it first: irq_domain_get_irq_data() and
irq_domain_set_info() were documented twice. Identically, by both
definitions for CONFIG_IRQ_DOMAIN_HIERARCHY and !CONFIG_IRQ_DOMAIN_HIERARCHY.
Therefore, switch the second kernel-doc into an ordinary comment -- change
"/**" to simple "/*". This avoids sphinx's: WARNING: Duplicate C
declaration
Next, in commit b7b377332b96 ("irqdomain: Fix the kernel-doc and plug it
into Documentation"), irqdomain.h's (header) kernel-doc was added into
core-api/genericirq.rst. But given the amount of irqdomain functions and
structures, move all these to core-api/irq/irq-domain.rst now.
Finally, add these newly fixed irqdomain.c's (source) docs there as
well.
Signed-off-by: Jiri Slaby (SUSE) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions
