Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmid/main.c

    ra6add7a rb68b279  
    4444#include "usbmid.h"
    4545
    46 /** Callback when new MID device is attached to the host.
    47  *
    48  * @param gen_dev Generic DDF device representing the new device.
    49  * @return Error code.
    50  */
    51 static int usbmid_add_device(ddf_dev_t *gen_dev)
     46static int usbmid_add_device(device_t *gen_dev)
    5247{
    5348        usbmid_device_t *dev = usbmid_device_create(gen_dev);
     
    9186}
    9287
    93 /** USB MID driver ops. */
    9488static driver_ops_t mid_driver_ops = {
    9589        .add_device = usbmid_add_device,
    9690};
    9791
    98 /** USB MID driver. */
    9992static driver_t mid_driver = {
    10093        .name = NAME,
     
    10699        printf(NAME ": USB multi interface device driver.\n");
    107100
    108         usb_log_enable(USB_LOG_LEVEL_INFO, NAME);
    109         return ddf_driver_main(&mid_driver);
     101        usb_log_enable(USB_LOG_LEVEL_DEBUG, NAME);
     102        return driver_main(&mid_driver);
    110103}
    111104
Note: See TracChangeset for help on using the changeset viewer.