@@ -317,39 +317,6 @@ struct irq_domain *irq_domain_instantiate(const struct irq_domain_info *info)
317
317
}
318
318
EXPORT_SYMBOL_GPL (irq_domain_instantiate );
319
319
320
- /**
321
- * __irq_domain_add() - Allocate a new irq_domain data structure
322
- * @fwnode: firmware node for the interrupt controller
323
- * @size: Size of linear map; 0 for radix mapping only
324
- * @hwirq_max: Maximum number of interrupts supported by controller
325
- * @direct_max: Maximum value of direct maps; Use ~0 for no limit; 0 for no
326
- * direct mapping
327
- * @ops: domain callbacks
328
- * @host_data: Controller private data pointer
329
- *
330
- * Allocates and initializes an irq_domain structure.
331
- * Returns pointer to IRQ domain, or NULL on failure.
332
- */
333
- struct irq_domain * __irq_domain_add (struct fwnode_handle * fwnode , unsigned int size ,
334
- irq_hw_number_t hwirq_max , int direct_max ,
335
- const struct irq_domain_ops * ops ,
336
- void * host_data )
337
- {
338
- struct irq_domain_info info = {
339
- .fwnode = fwnode ,
340
- .size = size ,
341
- .hwirq_max = hwirq_max ,
342
- .direct_max = direct_max ,
343
- .ops = ops ,
344
- .host_data = host_data ,
345
- };
346
- struct irq_domain * d ;
347
-
348
- d = irq_domain_instantiate (& info );
349
- return IS_ERR (d ) ? NULL : d ;
350
- }
351
- EXPORT_SYMBOL_GPL (__irq_domain_add );
352
-
353
320
/**
354
321
* irq_domain_remove() - Remove an irq domain.
355
322
* @domain: domain to remove
0 commit comments