summaryrefslogtreecommitdiffstats
path: root/openbsc/src/libabis/input/hsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/libabis/input/hsl.c')
-rw-r--r--openbsc/src/libabis/input/hsl.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/openbsc/src/libabis/input/hsl.c b/openbsc/src/libabis/input/hsl.c
index e842f0dec..c98a22cb4 100644
--- a/openbsc/src/libabis/input/hsl.c
+++ b/openbsc/src/libabis/input/hsl.c
@@ -437,12 +437,6 @@ int hsl_setup(struct gsm_network *gsmnet)
{
int ret;
- /* register the driver with the core */
- /* FIXME: do this in the plugin initializer function */
- ret = e1inp_driver_register(&hsl_driver);
- if (ret)
- return ret;
-
e1h = talloc_zero(tall_bsc_ctx, struct hsl_e1_handle);
if (!e1h)
return -ENOMEM;
@@ -457,3 +451,8 @@ int hsl_setup(struct gsm_network *gsmnet)
return 0;
}
+
+void e1inp_hsl_init(void)
+{
+ e1inp_driver_register(&hsl_driver);
+}