Re: [PATCH 10/10] IA64: C99 initializers for hw_interrupt_type structures

From: Jesse Barnes
Date: Mon Feb 28 2005 - 12:19:28 EST


> struct hw_interrupt_type irq_type_sn = {
> - "SN hub",
> - sn_startup_irq,
> - sn_shutdown_irq,
> - sn_enable_irq,
> - sn_disable_irq,
> - sn_ack_irq,
> - sn_end_irq,
> - sn_set_affinity_irq
> + .typename = "SN hub",
> + .startup = sn_startup_irq,
> + .shutdown = sn_shutdown_irq,
> + .enable = sn_enable_irq,
> + .disable = sn_disable_irq,
> + .ack = sn_ack_irq,
> + .end = sn_end_irq,
> + .set_affinity = sn_set_affinity_irq
> };
>
> unsigned int sn_local_vector_to_irq(u8 vector)

Looks fine.

Acked-by: Jesse Barnes <jbarnes@xxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/