Changes in uspace/drv/platform/pc/pc.c [b7fd2a0:cccd60c3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/platform/pc/pc.c
rb7fd2a0 rcccd60c3 59 59 } pc_fun_t; 60 60 61 static errno_t pc_dev_add(ddf_dev_t *dev);61 static int pc_dev_add(ddf_dev_t *dev); 62 62 static void pc_init(void); 63 63 … … 125 125 } 126 126 127 static errno_t pc_enable_interrupt(ddf_fun_t *fun, int irq)127 static int pc_enable_interrupt(ddf_fun_t *fun, int irq) 128 128 { 129 129 /* TODO */ … … 159 159 160 160 ddf_fun_t *fnode = NULL; 161 errno_t rc;161 int rc; 162 162 163 163 /* Create new device. */ … … 203 203 * @param dev The device which is root of the whole device tree (both 204 204 * of HW and pseudo devices). 205 * @return Zero on success, error number otherwise.206 */ 207 static errno_t pc_dev_add(ddf_dev_t *dev)205 * @return Zero on success, negative error number otherwise. 206 */ 207 static int pc_dev_add(ddf_dev_t *dev) 208 208 { 209 209 ddf_msg(LVL_DEBUG, "pc_dev_add, device handle = %d",
Note:
See TracChangeset
for help on using the changeset viewer.