Changeset d6b1359 in mainline for uspace/drv/test1/char.c
- Timestamp:
- 2011-01-09T18:00:14Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 80bffdb0
- Parents:
- 0c70f7e (diff), 8871dba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/test1/char.c
r0c70f7e rd6b1359 33 33 #include <errno.h> 34 34 #include <mem.h> 35 #include < char.h>35 #include <ops/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.