Changeset 8e4a408 in mainline for uspace/drv/fb/kfb/kfb.c


Ignore:
Timestamp:
2014-07-09T23:25:28Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1b979a
Parents:
7d276395
Message:

Visualizer should use a custom connection handler instead of a single-method devman interface. This fixes rfb, which was broken.

File:
1 edited

Legend:

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

    r7d276395 r8e4a408  
    4040#include <task.h>
    4141#include <graph.h>
    42 #include <ops/graph_dev.h>
    4342#include "port.h"
    4443#include "kfb.h"
     
    6059};
    6160
    62 static graph_dev_ops_t graph_vsl_dev_ops = {
    63         .connect = (connect_func) &graph_visualizer_connection
    64 };
    65 
    66 ddf_dev_ops_t graph_vsl_device_ops = {
    67         .interfaces[GRAPH_DEV_IFACE] = &graph_vsl_dev_ops
    68 };
    69 
    70 static graph_dev_ops_t graph_rnd_dev_ops = {
    71         .connect = (connect_func) &graph_renderer_connection
    72 };
    73 
    74 ddf_dev_ops_t graph_rnd_device_ops = {
    75         .interfaces[GRAPH_DEV_IFACE] = &graph_rnd_dev_ops
    76 };
    77 
    7861int main(int argc, char *argv[])
    7962{
Note: See TracChangeset for help on using the changeset viewer.