Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/main.c

    r9d58539 r56fd7cf  
    103103        if (rc != EOK) {
    104104                usb_log_error("Failed to start polling fibril for `%s'.\n",
    105                     dev->ddf_dev->name);
     105                    ddf_dev_get_name(dev->ddf_dev));
    106106                usb_hid_deinit(hid_dev);
    107107                return rc;
     
    109109        hid_dev->running = true;
    110110
    111         usb_log_info("HID device `%s' ready to use.\n", dev->ddf_dev->name);
     111        usb_log_info("HID device `%s' ready to use.\n",
     112            ddf_dev_get_name(dev->ddf_dev));
    112113
    113114        return EOK;
    114115}
    115 /*----------------------------------------------------------------------------*/
     116
    116117/**
    117118 * Callback for a device about to be removed from the driver.
     
    126127        return ENOTSUP;
    127128}
    128 /*----------------------------------------------------------------------------*/
     129
    129130/**
    130131 * Callback for removing a device from the driver.
     
    149150
    150151        usb_hid_deinit(hid_dev);
    151         usb_log_debug2("%s destruction complete.\n", dev->ddf_dev->name);
     152        usb_log_debug2("%s destruction complete.\n", ddf_dev_get_name(dev->ddf_dev));
    152153        return EOK;
    153154}
    154 /*----------------------------------------------------------------------------*/
     155
    155156/** USB generic driver callbacks */
    156157static const usb_driver_ops_t usb_hid_driver_ops = {
     
    159160        .device_gone = usb_hid_device_gone,
    160161};
    161 /*----------------------------------------------------------------------------*/
     162
    162163/** The driver itself. */
    163164static const usb_driver_t usb_hid_driver = {
     
    166167        .endpoints = usb_hid_endpoints
    167168};
    168 /*----------------------------------------------------------------------------*/
     169
    169170int main(int argc, char *argv[])
    170171{
Note: See TracChangeset for help on using the changeset viewer.