Changes in uspace/drv/audio/sb16/main.c [071a1ddb:cccd60c3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/main.c
r071a1ddb rcccd60c3 76 76 } 77 77 78 static void irq_handler(ipc_call _t *call, ddf_dev_t *dev)78 static void irq_handler(ipc_callid_t iid, ipc_call_t *call, ddf_dev_t *dev) 79 79 { 80 80 sb16_t *sb16_dev = ddf_dev_data_get(dev); … … 123 123 }; 124 124 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; 128 129 ddf_log_error("Failed to register irq handler: %s.", 129 130 str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.