Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 r24abb85d  
    4343#include "private/driver.h"
    4444
    45 errno_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)
     45int register_interrupt_handler(ddf_dev_t *dev, int irq,
     46    interrupt_handler_t *handler, const irq_code_t *irq_code)
    4847{
    4948        return async_irq_subscribe(irq, (async_notification_handler_t) handler,
    50             dev, irq_code, handle);
     49            dev, irq_code);
    5150}
    5251
    53 errno_t unregister_interrupt_handler(ddf_dev_t *dev, cap_handle_t cap)
     52int unregister_interrupt_handler(ddf_dev_t *dev, int cap)
    5453{
    5554        return async_irq_unsubscribe(cap);
Note: See TracChangeset for help on using the changeset viewer.