Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/hdaudio.c

    r60744cb r0d59ea7e  
    5858static errno_t hda_fun_offline(ddf_fun_t *fun);
    5959
    60 static void hdaudio_interrupt(ipc_call_t *, void *);
     60static void hdaudio_interrupt(ipc_call_t *, ddf_dev_t *);
    6161
    6262static driver_ops_t driver_ops = {
     
    266266        cap_irq_handle_t irq_cap;
    267267        rc = register_interrupt_handler(dev, res.irqs.irqs[0],
    268             hdaudio_interrupt, (void *)hda, &irq_code, &irq_cap);
     268            hdaudio_interrupt, &irq_code, &irq_cap);
    269269        if (rc != EOK) {
    270270                ddf_msg(LVL_ERROR, "Failed registering interrupt handler: %s",
     
    377377}
    378378
    379 /** HD Audio interrupt handler.
    380  *
    381  * @param icall IRQ event notification
    382  * @param arg Argument (hda_t *)
    383  */
    384 static void hdaudio_interrupt(ipc_call_t *icall, void *arg)
    385 {
    386         hda_t *hda = (hda_t *)arg;
     379static void hdaudio_interrupt(ipc_call_t *icall, ddf_dev_t *dev)
     380{
     381        hda_t *hda = (hda_t *)ddf_dev_data_get(dev);
    387382
    388383        if (0)
Note: See TracChangeset for help on using the changeset viewer.