Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/fb/kfb/port.c

    r8e4a408 r7dba813  
    207207};
    208208
    209 static void graph_vsl_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    210 {
    211         visualizer_t *vsl;
    212 
    213         vsl = (visualizer_t *) ddf_fun_data_get((ddf_fun_t *)arg);
    214         graph_visualizer_connection(vsl, iid, icall, NULL);
    215 }
    216 
    217209int port_init(ddf_dev_t *dev)
    218210{
     
    341333       
    342334        kfb.size = scanline * height;
    343         kfb.addr = AS_AREA_ANY;
    344        
    345         rc = physmem_map(paddr + offset,
     335        rc = physmem_map((void *) paddr + offset,
    346336            ALIGN_UP(kfb.size, PAGE_SIZE) >> PAGE_WIDTH,
    347337            AS_AREA_READ | AS_AREA_WRITE, (void *) &kfb.addr);
     
    354344                return ENOMEM;
    355345        }
    356         ddf_fun_set_conn_handler(fun_vs, &graph_vsl_connection);
     346        ddf_fun_set_ops(fun_vs, &graph_vsl_device_ops);
    357347
    358348        visualizer_t *vs = ddf_fun_data_alloc(fun_vs, sizeof(visualizer_t));
Note: See TracChangeset for help on using the changeset viewer.