Ejemplo n.º 1
0
static void construct(
	struct irq_service *irq_service,
	struct irq_service_init_data *init_data)
{
	dal_irq_service_construct(irq_service, init_data);

	irq_service->info = irq_source_info_dce120;
	irq_service->funcs = &irq_service_funcs_dce120;
}
bool construct(
    struct irq_service *irq_service,
    struct irq_service_init_data *init_data)
{
    if (!dal_irq_service_construct(irq_service, init_data))
        return false;

    irq_service->info = irq_source_info_dce110;
    irq_service->funcs = &irq_service_funcs_dce110;

    return true;
}