@@ -703,38 +703,6 @@ unsigned int irq_create_mapping_affinity(struct irq_domain *domain,
703703}
704704EXPORT_SYMBOL_GPL (irq_create_mapping_affinity );
705705
706- /**
707- * irq_create_strict_mappings() - Map a range of hw irqs to fixed linux irqs
708- * @domain: domain owning the interrupt range
709- * @irq_base: beginning of linux IRQ range
710- * @hwirq_base: beginning of hardware IRQ range
711- * @count: Number of interrupts to map
712- *
713- * This routine is used for allocating and mapping a range of hardware
714- * irqs to linux irqs where the linux irq numbers are at pre-defined
715- * locations. For use by controllers that already have static mappings
716- * to insert in to the domain.
717- *
718- * 0 is returned upon success, while any failure to establish a static
719- * mapping is treated as an error.
720- */
721- int irq_create_strict_mappings (struct irq_domain * domain , unsigned int irq_base ,
722- irq_hw_number_t hwirq_base , int count )
723- {
724- struct device_node * of_node ;
725- int ret ;
726-
727- of_node = irq_domain_get_of_node (domain );
728- ret = irq_alloc_descs (irq_base , irq_base , count ,
729- of_node_to_nid (of_node ));
730- if (unlikely (ret < 0 ))
731- return ret ;
732-
733- irq_domain_associate_many (domain , irq_base , hwirq_base , count );
734- return 0 ;
735- }
736- EXPORT_SYMBOL_GPL (irq_create_strict_mappings );
737-
738706static int irq_domain_translate (struct irq_domain * d ,
739707 struct irq_fwspec * fwspec ,
740708 irq_hw_number_t * hwirq , unsigned int * type )
0 commit comments