summaryrefslogtreecommitdiff
path: root/channels/dahdi/bridge_native_dahdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/dahdi/bridge_native_dahdi.c')
-rw-r--r--channels/dahdi/bridge_native_dahdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/dahdi/bridge_native_dahdi.c b/channels/dahdi/bridge_native_dahdi.c
index d67cb5c43..234228bd5 100644
--- a/channels/dahdi/bridge_native_dahdi.c
+++ b/channels/dahdi/bridge_native_dahdi.c
@@ -903,11 +903,11 @@ void dahdi_native_unload(void)
* \retval 0 on success.
* \retval -1 on error.
*/
-int dahdi_native_load(struct ast_module *mod, const struct ast_channel_tech *tech)
+int dahdi_native_load(const struct ast_channel_tech *tech)
{
dahdi_tech = tech;
- if (__ast_bridge_technology_register(&native_bridge, mod)) {
+ if (ast_bridge_technology_register(&native_bridge)) {
dahdi_native_unload();
return -1;
}