Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/platform/icp/icp.c

    rb7fd2a0 rb446b02  
    6262} icp_fun_t;
    6363
    64 static errno_t icp_dev_add(ddf_dev_t *dev);
     64static int icp_dev_add(ddf_dev_t *dev);
    6565
    6666static driver_ops_t icp_ops = {
     
    178178}
    179179
    180 static errno_t icp_fun_enable_interrupt(ddf_fun_t *fnode, int irq)
     180static int icp_fun_enable_interrupt(ddf_fun_t *fnode, int irq)
    181181{
    182182        icp_fun_t *fun = icp_fun(fnode);
     
    188188}
    189189
    190 static errno_t icp_fun_disable_interrupt(ddf_fun_t *fnode, int irq)
     190static int icp_fun_disable_interrupt(ddf_fun_t *fnode, int irq)
    191191{
    192192        icp_fun_t *fun = icp_fun(fnode);
     
    198198}
    199199
    200 static errno_t icp_fun_clear_interrupt(ddf_fun_t *fnode, int irq)
     200static int icp_fun_clear_interrupt(ddf_fun_t *fnode, int irq)
    201201{
    202202        icp_fun_t *fun = icp_fun(fnode);
     
    231231};
    232232
    233 static errno_t icp_add_fun(ddf_dev_t *dev, const char *name, const char *str_match_id,
     233static int icp_add_fun(ddf_dev_t *dev, const char *name, const char *str_match_id,
    234234    icp_fun_t *fun_proto)
    235235{
     
    237237
    238238        ddf_fun_t *fnode = NULL;
    239         errno_t rc;
     239        int rc;
    240240
    241241        /* Create new device. */
     
    275275}
    276276
    277 static errno_t icp_add_functions(ddf_dev_t *dev)
    278 {
    279         errno_t rc;
     277static int icp_add_functions(ddf_dev_t *dev)
     278{
     279        int rc;
    280280
    281281        rc = icp_add_fun(dev, "intctl", "integratorcp/intctl",
     
    296296
    297297/** Add device. */
    298 static errno_t icp_dev_add(ddf_dev_t *dev)
     298static int icp_dev_add(ddf_dev_t *dev)
    299299{
    300300        ddf_msg(LVL_NOTE, "icp_dev_add, device handle = %d",
     
    311311int main(int argc, char *argv[])
    312312{
    313         errno_t rc;
     313        int rc;
    314314
    315315        printf(NAME ": HelenOS IntegratorCP platform driver\n");
Note: See TracChangeset for help on using the changeset viewer.