|
@@ -27,14 +27,14 @@ static struct irq_domain *irq_default_domain;
|
|
|
* __irq_domain_add() - Allocate a new irq_domain data structure
|
|
|
* @of_node: optional device-tree node of the interrupt controller
|
|
|
* @size: Size of linear map; 0 for radix mapping only
|
|
|
+ * @hwirq_max: Maximum number of interrupts supported by controller
|
|
|
* @direct_max: Maximum value of direct maps; Use ~0 for no limit; 0 for no
|
|
|
* direct mapping
|
|
|
* @ops: map/unmap domain callbacks
|
|
|
* @host_data: Controller private data pointer
|
|
|
*
|
|
|
- * Allocates and initialize and irq_domain structure. Caller is expected to
|
|
|
- * register allocated irq_domain with irq_domain_register(). Returns pointer
|
|
|
- * to IRQ domain, or NULL on failure.
|
|
|
+ * Allocates and initialize and irq_domain structure.
|
|
|
+ * Returns pointer to IRQ domain, or NULL on failure.
|
|
|
*/
|
|
|
struct irq_domain *__irq_domain_add(struct device_node *of_node, int size,
|
|
|
irq_hw_number_t hwirq_max, int direct_max,
|