Ignore:
Timestamp:
2013-07-11T08:21:10Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
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.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c

    r80445cf r4c53333  
    3838
    3939#include <ddi.h>
    40 #include <libarch/ddi.h>
    4140#include <loc.h>
    4241#include <ipc/char.h>
     
    7776int main(int argc, char *argv[])
    7877{
    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       
    8380        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;
    8885        }
    8986
Note: See TracChangeset for help on using the changeset viewer.