Changeset 50c57df in mainline for uspace/drv/test1/char.c


Ignore:
Timestamp:
2011-01-09T17:40:10Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41b56084
Parents:
36a6e11
Message:

Rename driver op structures for consistency.

File:
1 edited

Legend:

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

    r36a6e11 r50c57df  
    3333#include <errno.h>
    3434#include <mem.h>
    35 #include <char.h>
     35#include <char_dev.h>
    3636
    3737#include "test1.h"
     
    4646}
    4747
    48 static char_iface_t char_interface = {
     48static char_dev_ops_t char_dev_ops = {
    4949        .read = &impl_char_read,
    5050        .write = &imp_char_write
     
    5252
    5353device_ops_t char_device_ops = {
    54         .interfaces[CHAR_DEV_IFACE] = &char_interface
     54        .interfaces[CHAR_DEV_IFACE] = &char_dev_ops
    5555};
    5656
Note: See TracChangeset for help on using the changeset viewer.