Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/pl050/pl050.c

    rfafb8e5 r60744cb  
    143143}
    144144
    145 static void pl050_interrupt(ipc_call_t *call, ddf_dev_t *dev)
    146 {
    147         pl050_t *pl050 = (pl050_t *)ddf_dev_data_get(dev);
     145/** PL050 interrupt handler
     146 *
     147 * @param call IRQ event notification
     148 * @param arg Argument (pl050_t *)
     149 */
     150static void pl050_interrupt(ipc_call_t *call, void *arg)
     151{
     152        pl050_t *pl050 = (pl050_t *)arg;
    148153        size_t nidx;
    149154
     
    220225        cap_irq_handle_t ihandle;
    221226        rc = register_interrupt_handler(pl050->dev,
    222             res.irqs.irqs[0], pl050_interrupt, &pl050_irq_code, &ihandle);
     227            res.irqs.irqs[0], pl050_interrupt, (void *)pl050, &pl050_irq_code,
     228            &ihandle);
    223229        if (rc != EOK) {
    224230                ddf_msg(LVL_ERROR, "Failed registering interrupt handler. (%s)",
Note: See TracChangeset for help on using the changeset viewer.