irqchip/ti-sci-inta: Fix unsigned comparison to zero
[linux-2.6-microblaze.git] / drivers / irqchip / irq-ti-sci-inta.c
index d4e9760..05bf94b 100644 (file)
@@ -175,8 +175,8 @@ static struct ti_sci_inta_vint_desc *ti_sci_inta_alloc_parent_irq(struct irq_dom
        struct irq_fwspec parent_fwspec;
        struct device_node *parent_node;
        unsigned int parent_virq;
-       u16 vint_id, p_hwirq;
-       int ret;
+       int p_hwirq, ret;
+       u16 vint_id;
 
        vint_id = ti_sci_get_free_resource(inta->vint);
        if (vint_id == TI_SCI_RESOURCE_NULL)