Ignore:
File:
1 edited

Legend:

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

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