diff options
author | Grant Likely <grant.likely@linaro.org> | 2013-06-06 15:23:30 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-06-10 12:52:09 +0200 |
commit | 0bb4afb45dd1add73ca643a865daa38716aeff0c (patch) | |
tree | 540936db8e602ec491d667d9f04583bf7d7f3240 /kernel/irq/generic-chip.c | |
parent | irqdomain: Replace LEGACY mapping with LINEAR (diff) | |
download | linux-0bb4afb45dd1add73ca643a865daa38716aeff0c.tar.xz linux-0bb4afb45dd1add73ca643a865daa38716aeff0c.zip |
irqdomain: Add a name field
This patch adds a name field to the irq_domain structure to help mere
mortals understand the mappings between irq domains and virqs. It also
converts a number of places that have open-coded some kind of fudging
an irqdomain name to use the new field. This means a more consistent
display of names in irq domain log messages and debugfs output.
Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'kernel/irq/generic-chip.c')
-rw-r--r-- | kernel/irq/generic-chip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c index 95575d8d5392..ca98cc5d6308 100644 --- a/kernel/irq/generic-chip.c +++ b/kernel/irq/generic-chip.c @@ -305,6 +305,7 @@ int irq_alloc_domain_generic_chips(struct irq_domain *d, int irqs_per_chip, /* Calc pointer to the next generic chip */ tmp += sizeof(*gc) + num_ct * sizeof(struct irq_chip_type); } + d->name = name; return 0; } EXPORT_SYMBOL_GPL(irq_alloc_domain_generic_chips); |