Changes in uspace/drv/platform/malta/malta.c [cccd60c3:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/platform/malta/malta.c
rcccd60c3 rb7fd2a0 77 77 } malta_fun_t; 78 78 79 static int malta_dev_add(ddf_dev_t *dev);79 static errno_t malta_dev_add(ddf_dev_t *dev); 80 80 static void malta_init(void); 81 81 … … 143 143 } 144 144 145 static int malta_enable_interrupt(ddf_fun_t *fun, int irq)145 static errno_t malta_enable_interrupt(ddf_fun_t *fun, int irq) 146 146 { 147 147 /* TODO */ … … 177 177 178 178 ddf_fun_t *fnode = NULL; 179 int rc;179 errno_t rc; 180 180 181 181 /* Create new device. */ … … 221 221 * @param dev The device which is root of the whole device tree (both 222 222 * of HW and pseudo devices). 223 * @return Zero on success, negativeerror number otherwise.224 */ 225 static int malta_dev_add(ddf_dev_t *dev)223 * @return Zero on success, error number otherwise. 224 */ 225 static errno_t malta_dev_add(ddf_dev_t *dev) 226 226 { 227 227 ioport32_t *gt; 228 228 uint32_t val; 229 int ret;229 errno_t ret; 230 230 231 231 ddf_msg(LVL_DEBUG, "malta_dev_add, device handle = %d",
Note:
See TracChangeset
for help on using the changeset viewer.