Changeset d95f02ff in mainline for uspace/drv/bus/usb/usbmast/main.c
- Timestamp:
- 2011-10-03T18:39:42Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3d79f5b
- Parents:
- 60c6fe0
- git-author:
- Jakub Jermar <jakub@…> (2011-10-03 18:39:42)
- git-committer:
- Jiri Svoboda <jiri@…> (2011-10-03 18:39:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/main.c
r60c6fe0 rd95f02ff 159 159 160 160 /* Allocate soft state */ 161 mfun = ddf_ dev_data_alloc(mdev->ddf_dev, sizeof(usbmast_fun_t));161 mfun = ddf_fun_data_alloc(fun, sizeof(usbmast_fun_t)); 162 162 if (mfun == NULL) { 163 163 usb_log_error("Failed allocating softstate.\n"); … … 171 171 /* Set up a connection handler. */ 172 172 fun->conn_handler = usbmast_bd_connection; 173 fun->driver_data = mfun;174 173 175 174 usb_log_debug("Inquire...\n");
Note:
See TracChangeset
for help on using the changeset viewer.