/* Called from irq_create_of_mapping() only. Note: We have only 1 entry to translate.  */
static int beatic_pic_host_xlate(struct irq_host *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags)
/* Called from irq_create_of_mapping() only. Note: We have only 1 entry to translate.  */
static int beatic_pic_host_xlate(struct irq_host *h, struct device_node *ct, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_flags)
{
	const u64 *intspec2 = (const u64 *)intspec;
	*out_hwirq = *intspec2;
	*out_flags |= IRQ_TYPE_LEVEL_LOW;
	return 0;
}