Changes in uspace/drv/intctl/icp-ic/icp-ic.c [b7fd2a0:c1694b6b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/intctl/icp-ic/icp-ic.c
rb7fd2a0 rc1694b6b 52 52 }; 53 53 54 static errno_t icpic_enable_irq(icpic_t *icpic, sysarg_t irq)54 static int icpic_enable_irq(icpic_t *icpic, sysarg_t irq) 55 55 { 56 56 if (irq > icpic_max_irq) … … 112 112 113 113 /** Add icp-ic device. */ 114 errno_t icpic_add(icpic_t *icpic, icpic_res_t *res)114 int icpic_add(icpic_t *icpic, icpic_res_t *res) 115 115 { 116 116 ddf_fun_t *fun_a = NULL; 117 117 void *regs; 118 errno_t rc;118 int rc; 119 119 120 120 rc = pio_enable((void *)res->base, sizeof(icpic_regs_t), ®s); … … 153 153 154 154 /** Remove icp-ic device */ 155 errno_t icpic_remove(icpic_t *icpic)155 int icpic_remove(icpic_t *icpic) 156 156 { 157 157 return ENOTSUP; … … 159 159 160 160 /** icp-ic device gone */ 161 errno_t icpic_gone(icpic_t *icpic)161 int icpic_gone(icpic_t *icpic) 162 162 { 163 163 return ENOTSUP;
Note:
See TracChangeset
for help on using the changeset viewer.