Changeset 1a4ea01d in mainline for uspace/lib/usbdev/src/devdrv.c
- Timestamp:
- 2011-10-12T15:35:23Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 96646a6
- Parents:
- 49a98c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/devdrv.c
r49a98c8 r1a4ea01d 41 41 #include <assert.h> 42 42 43 static int generic_ add_device(ddf_dev_t *);43 static int generic_device_add(ddf_dev_t *); 44 44 45 45 static driver_ops_t generic_driver_ops = { 46 .add_device = generic_ add_device46 .add_device = generic_device_add 47 47 }; 48 48 static driver_t generic_driver = { … … 131 131 * @return Error code. 132 132 */ 133 int generic_ add_device(ddf_dev_t *gen_dev)133 int generic_device_add(ddf_dev_t *gen_dev) 134 134 { 135 135 assert(driver); 136 136 assert(driver->ops); 137 assert(driver->ops-> add_device);137 assert(driver->ops->device_add); 138 138 139 139 int rc; … … 148 148 } 149 149 150 return driver->ops-> add_device(dev);150 return driver->ops->device_add(dev); 151 151 } 152 152
Note:
See TracChangeset
for help on using the changeset viewer.