module/timer/src/mod_timer.c
static int timer_init(fwk_id_t module_id,
                      unsigned int element_count,
                      const void *data)
{
    ctx_table = fwk_mm_calloc(element_count, sizeof(struct dev_ctx));

    if (ctx_table == NULL)
        return FWK_E_NOMEM;

    return FWK_SUCCESS;
}
/*
 * Functions fulfilling the framework's module interface
 */
Functions fulfilling the framework's module interface
Functions fulfilling the framework ' s module interface
static int timer_init(fwk_id_t module_id,
                      unsigned int element_count,
                      const void *data)
{
    ctx_table = fwk_mm_calloc(element_count, sizeof(struct dev_ctx));
    if (ctx_table == NULL)
        return FWK_E_NOMEM;
    return FWK_SUCCESS;
}
static int timer_init ( fwk_id_t module_id , unsigned int element_count , const void * data ) { ctx_table = fwk_mm_calloc ( element_count , sizeof ( struct dev_ctx ) ) ; if ( ctx_table == NULL ) return FWK_E_NOMEM ; return FWK_SUCCESS ; }
Functions fulfilling the framework's module interface
Functions fulfilling the framework ' s module interface