Changes in uspace/drv/usbmid/main.c [a6add7a:b68b279] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmid/main.c
ra6add7a rb68b279 44 44 #include "usbmid.h" 45 45 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) 46 static int usbmid_add_device(device_t *gen_dev) 52 47 { 53 48 usbmid_device_t *dev = usbmid_device_create(gen_dev); … … 91 86 } 92 87 93 /** USB MID driver ops. */94 88 static driver_ops_t mid_driver_ops = { 95 89 .add_device = usbmid_add_device, 96 90 }; 97 91 98 /** USB MID driver. */99 92 static driver_t mid_driver = { 100 93 .name = NAME, … … 106 99 printf(NAME ": USB multi interface device driver.\n"); 107 100 108 usb_log_enable(USB_LOG_LEVEL_ INFO, NAME);109 return d df_driver_main(&mid_driver);101 usb_log_enable(USB_LOG_LEVEL_DEBUG, NAME); 102 return driver_main(&mid_driver); 110 103 } 111 104
Note:
See TracChangeset
for help on using the changeset viewer.