Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e1e4192 in mainline for uspace/srv/hid/input/port/adb.c


Ignore:
Timestamp:
2012-06-03T20:45:58Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
90478727
Parents:
f7e69f5 (diff), 3123d2a (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/hid/input/port/adb.c

    rf7e69f5 re1e4192  
    6565static int adb_port_init(kbd_dev_t *kdev)
    6666{
     67        kbd_dev = kdev;
     68       
    6769        const char *dev = "adb/kbd";
    6870        service_id_t service_id;
    69         async_exch_t *exch;
    70         int rc;
    71        
    72         kbd_dev = kdev;
    73        
    74         rc = loc_service_get_id(dev, &service_id, 0);
     71        int rc = loc_service_get_id(dev, &service_id, 0);
    7572        if (rc != EOK)
    7673                return rc;
     
    8279        }
    8380       
    84         exch = async_exchange_begin(dev_sess);
     81        async_exch_t *exch = async_exchange_begin(dev_sess);
    8582        if (exch == NULL) {
    8683                printf("%s: Failed starting exchange with device\n", NAME);
     
    8986        }
    9087       
    91         /* NB: The callback connection is slotted for removal */
    9288        rc = async_connect_to_me(exch, 0, 0, 0, kbd_port_events, NULL);
    9389        async_exchange_end(exch);
Note: See TracChangeset for help on using the changeset viewer.