Commit e56e12e2 authored by Juliano Murari's avatar Juliano Murari

hal/sm_io/*/sm_io_mod_dispatch*: update SMIO dispatch table

As we have included the "acq" SMIO module, we need to update
the SMIO dispatch table accordingly
parent d4f235ae
......@@ -8,11 +8,17 @@
#include "sm_io_mod_dispatch.h"
/* Include all available module we can handle */
#include "sm_io_fmc130m_4ch_exp.h"
#include "sm_io_acq_exp.h"
/* Table of all known modules we can handle */
const smio_mod_dispatch_t smio_mod_dispatch[MOD_DISPATCH_END] = {
[0] = { .id = FMC130M_4CH_SDB_DEVID,
.name = FMC130M_4CH_SDB_NAME,
.bootstrap_ops = &fmc130m_4ch_bootstrap_ops
},
[1] = { .id = ACQ_SDB_DEVID,
.name = ACQ_SDB_NAME,
.bootstrap_ops = &acq_bootstrap_ops
}
};
......@@ -13,7 +13,7 @@
/* #include "sm_io_bootstrap.h" */
/* Number of known specific modules that we can handle */
#define MOD_DISPATCH_END 1
#define MOD_DISPATCH_END 2
struct _smio_bootstrap_ops_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment