Changes in uspace/drv/bus/usb/ohci/res.c [56fd7cf:44c1a48] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/res.c
r56fd7cf r44c1a48 53 53 * @return Error code. 54 54 */ 55 int get_my_registers( ddf_dev_t *dev,55 int get_my_registers(const ddf_dev_t *dev, 56 56 uintptr_t *mem_reg_address, size_t *mem_reg_size, int *irq_no) 57 57 { … … 59 59 60 60 async_sess_t *parent_sess = 61 devman_parent_device_connect(EXCHANGE_SERIALIZE, 62 ddf_dev_get_handle(dev),IPC_FLAG_BLOCKING);61 devman_parent_device_connect(EXCHANGE_SERIALIZE, dev->handle, 62 IPC_FLAG_BLOCKING); 63 63 if (!parent_sess) 64 64 return ENOMEM; … … 94 94 * @return Error code. 95 95 */ 96 int enable_interrupts( ddf_dev_t *device)96 int enable_interrupts(const ddf_dev_t *device) 97 97 { 98 98 async_sess_t *parent_sess = 99 devman_parent_device_connect(EXCHANGE_SERIALIZE, 100 ddf_dev_get_handle(device),IPC_FLAG_BLOCKING);99 devman_parent_device_connect(EXCHANGE_SERIALIZE, device->handle, 100 IPC_FLAG_BLOCKING); 101 101 if (!parent_sess) 102 102 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.