Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/main.c

    rcccd60c3 r071a1ddb  
    7676}
    7777
    78 static void irq_handler(ipc_callid_t iid, ipc_call_t *call, ddf_dev_t *dev)
     78static void irq_handler(ipc_call_t *call, ddf_dev_t *dev)
    7979{
    8080        sb16_t *sb16_dev = ddf_dev_data_get(dev);
     
    123123        };
    124124
    125         irq_cap = register_interrupt_handler(device, irq, irq_handler,
    126             &irq_code);
    127         if (irq_cap < 0) {
    128                 rc = irq_cap;
     125        rc = register_interrupt_handler(device, irq, irq_handler,
     126            &irq_code, &irq_cap);
     127        if (rc != EOK) {
    129128                ddf_log_error("Failed to register irq handler: %s.",
    130129                    str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.