Changeset 4c53333 in mainline for uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
- Timestamp:
- 2013-07-11T08:21:10Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64e63ce1
- Parents:
- 80445cf (diff), c8bb1633 (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/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
r80445cf r4c53333 38 38 39 39 #include <ddi.h> 40 #include <libarch/ddi.h>41 40 #include <loc.h> 42 41 #include <ipc/char.h> … … 77 76 int main(int argc, char *argv[]) 78 77 { 79 int rc; 80 81 printf(NAME ": S3C24xx on-chip UART driver\n"); 82 78 printf("%s: S3C24xx on-chip UART driver\n", NAME); 79 83 80 async_set_client_connection(s3c24xx_uart_connection); 84 rc = loc_server_register(NAME);85 if (rc < 0) {86 printf( NAME ": Unable to register server.\n");87 return -1;81 int rc = loc_server_register(NAME); 82 if (rc != EOK) { 83 printf("%s: Unable to register server.\n", NAME); 84 return rc; 88 85 } 89 86
Note:
See TracChangeset
for help on using the changeset viewer.