Changes in uspace/drv/platform/msim/msim.c [7de5f12:19d2ce01] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/platform/msim/msim.c
r7de5f12 r19d2ce01 65 65 static void msim_init(void); 66 66 67 /** The root device driver's standardoperations. */67 /** Standard driver operations. */ 68 68 static driver_ops_t msim_ops = { 69 69 .dev_add = &msim_dev_add 70 70 }; 71 71 72 /** The root device driver structure. */72 /** Driver structure. */ 73 73 static driver_t msim_driver = { 74 74 .name = NAME, … … 194 194 195 195 msim_fun_t *fun = ddf_fun_data_alloc(fnode, sizeof(msim_fun_t)); 196 if (fun == NULL) 197 goto failure; 198 196 199 *fun = *fun_proto; 197 200 … … 230 233 } 231 234 232 /** Get the root device. 233 * 234 * @param dev The device which is root of the whole device tree (both 235 * of HW and pseudo devices). 236 * @return Zero on success, negative error number otherwise. 235 /** Add MSIM platform device. 236 * 237 * @param dev DDF device 238 * @return Zero on success or non-zero error code. 237 239 */ 238 240 static int msim_dev_add(ddf_dev_t *dev)
Note:
See TracChangeset
for help on using the changeset viewer.