summaryrefslogtreecommitdiff
path: root/include/linux/irqdomain.h
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@linaro.org>2013-06-06 17:23:30 +0400
committerGrant Likely <grant.likely@linaro.org>2013-06-10 14:52:09 +0400
commit0bb4afb45dd1add73ca643a865daa38716aeff0c (patch)
tree540936db8e602ec491d667d9f04583bf7d7f3240 /include/linux/irqdomain.h
parent9bbf877d3b6b8c5991000296f40a3f0fe66fa89b (diff)
downloadlinux-0bb4afb45dd1add73ca643a865daa38716aeff0c.tar.xz
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 'include/linux/irqdomain.h')
-rw-r--r--include/linux/irqdomain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h
index 6f062416e5bf..e5e513c2d104 100644
--- a/include/linux/irqdomain.h
+++ b/include/linux/irqdomain.h
@@ -89,6 +89,7 @@ struct irq_domain_chip_generic;
*/
struct irq_domain {
struct list_head link;
+ const char *name;
/* type of reverse mapping_technique */
unsigned int revmap_type;