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

Changeset 56fd7cf in mainline for uspace/drv/bus/usb/usbflbk/main.c


Ignore:
Timestamp:
2012-08-17T11:37:03Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
1d5a540
Parents:
be2a38ad
Message:

Make ddf_dev_t and ddf_fun_t opaque. This further tighthens the DDF interface.

File:
1 edited

Legend:

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

    rbe2a38ad r56fd7cf  
    6969            " (node `%s', handle %" PRIun ").\n",
    7070            dev->interface_no < 0 ? "device" : "interface",
    71             dev->ddf_dev->name, fun_name, dev->ddf_dev->handle);
     71            ddf_dev_get_name(dev->ddf_dev), fun_name, ddf_dev_get_handle(dev->ddf_dev));
    7272
    7373        return EOK;
     
    8585        const int ret = ddf_fun_unbind(ctl_fun);
    8686        if (ret != EOK) {
    87                 usb_log_error("Failed to unbind %s.\n", ctl_fun->name);
     87                usb_log_error("Failed to unbind %s.\n", ddf_fun_get_name(ctl_fun));
    8888                return ret;
    8989        }
Note: See TracChangeset for help on using the changeset viewer.