Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/interrupt.c

    r24abb85d rb7fd2a0  
    4343#include "private/driver.h"
    4444
    45 int register_interrupt_handler(ddf_dev_t *dev, int irq,
    46     interrupt_handler_t *handler, const irq_code_t *irq_code)
     45errno_t register_interrupt_handler(ddf_dev_t *dev, int irq,
     46    interrupt_handler_t *handler, const irq_code_t *irq_code,
     47    cap_handle_t *handle)
    4748{
    4849        return async_irq_subscribe(irq, (async_notification_handler_t) handler,
    49             dev, irq_code);
     50            dev, irq_code, handle);
    5051}
    5152
    52 int unregister_interrupt_handler(ddf_dev_t *dev, int cap)
     53errno_t unregister_interrupt_handler(ddf_dev_t *dev, cap_handle_t cap)
    5354{
    5455        return async_irq_unsubscribe(cap);
Note: See TracChangeset for help on using the changeset viewer.