Changeset 50c57df in mainline for uspace/drv/test1/char.c
- Timestamp:
- 2011-01-09T17:40:10Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41b56084
- Parents:
- 36a6e11
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test1/char.c
r36a6e11 r50c57df 33 33 #include <errno.h> 34 34 #include <mem.h> 35 #include <char .h>35 #include <char_dev.h> 36 36 37 37 #include "test1.h" … … 46 46 } 47 47 48 static char_ iface_t char_interface= {48 static char_dev_ops_t char_dev_ops = { 49 49 .read = &impl_char_read, 50 50 .write = &imp_char_write … … 52 52 53 53 device_ops_t char_device_ops = { 54 .interfaces[CHAR_DEV_IFACE] = &char_ interface54 .interfaces[CHAR_DEV_IFACE] = &char_dev_ops 55 55 }; 56 56
Note:
See TracChangeset
for help on using the changeset viewer.