diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/irqdomain.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index ac17b9b2e7b..c65740d76e6 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h | |||
| @@ -98,6 +98,9 @@ struct irq_domain { | |||
| 98 | unsigned int size; | 98 | unsigned int size; |
| 99 | unsigned int *revmap; | 99 | unsigned int *revmap; |
| 100 | } linear; | 100 | } linear; |
| 101 | struct { | ||
| 102 | unsigned int max_irq; | ||
| 103 | } nomap; | ||
| 101 | struct radix_tree_root tree; | 104 | struct radix_tree_root tree; |
| 102 | } revmap_data; | 105 | } revmap_data; |
| 103 | const struct irq_domain_ops *ops; | 106 | const struct irq_domain_ops *ops; |
| @@ -120,6 +123,7 @@ struct irq_domain *irq_domain_add_linear(struct device_node *of_node, | |||
| 120 | const struct irq_domain_ops *ops, | 123 | const struct irq_domain_ops *ops, |
| 121 | void *host_data); | 124 | void *host_data); |
| 122 | struct irq_domain *irq_domain_add_nomap(struct device_node *of_node, | 125 | struct irq_domain *irq_domain_add_nomap(struct device_node *of_node, |
| 126 | unsigned int max_irq, | ||
| 123 | const struct irq_domain_ops *ops, | 127 | const struct irq_domain_ops *ops, |
| 124 | void *host_data); | 128 | void *host_data); |
| 125 | struct irq_domain *irq_domain_add_tree(struct device_node *of_node, | 129 | struct irq_domain *irq_domain_add_tree(struct device_node *of_node, |
| @@ -128,7 +132,6 @@ struct irq_domain *irq_domain_add_tree(struct device_node *of_node, | |||
| 128 | 132 | ||
| 129 | extern struct irq_domain *irq_find_host(struct device_node *node); | 133 | extern struct irq_domain *irq_find_host(struct device_node *node); |
| 130 | extern void irq_set_default_host(struct irq_domain *host); | 134 | extern void irq_set_default_host(struct irq_domain *host); |
| 131 | extern void irq_set_virq_count(unsigned int count); | ||
| 132 | 135 | ||
| 133 | static inline struct irq_domain *irq_domain_add_legacy_isa( | 136 | static inline struct irq_domain *irq_domain_add_legacy_isa( |
| 134 | struct device_node *of_node, | 137 | struct device_node *of_node, |
| @@ -140,7 +143,6 @@ static inline struct irq_domain *irq_domain_add_legacy_isa( | |||
| 140 | } | 143 | } |
| 141 | extern struct irq_domain *irq_find_host(struct device_node *node); | 144 | extern struct irq_domain *irq_find_host(struct device_node *node); |
| 142 | extern void irq_set_default_host(struct irq_domain *host); | 145 | extern void irq_set_default_host(struct irq_domain *host); |
| 143 | extern void irq_set_virq_count(unsigned int count); | ||
| 144 | 146 | ||
| 145 | 147 | ||
| 146 | extern unsigned int irq_create_mapping(struct irq_domain *host, | 148 | extern unsigned int irq_create_mapping(struct irq_domain *host, |
