diff options
author | Shaun Ruffell <sruffell@digium.com> | 2012-04-11 20:19:24 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2012-04-11 20:19:24 +0000 |
commit | 537c8dd79f12a5b2946382fba470ca0b55177a30 (patch) | |
tree | 062308c67ade265fee13e31c90a900af3c254e31 /drivers/dahdi/xpp/xpp_dahdi.c | |
parent | 9dcacd42beef2933ef6ea34782fb89ecae21035f (diff) |
xpp: Fix compilation when CONFIG_DAHDI_WATCHDOG is defined.
Looks like a hold over from when dahdi_span_ops was first implemented in r8985
"dahdi: Move the callbacks in dahdi_span into its own structure" [1].
[1] http://svnview.digium.com/svn/dahdi?view=revision&revision=8985
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10658
Conflicts:
drivers/dahdi/xpp/xpp_dahdi.h
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.5@10659 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.c')
-rw-r--r-- | drivers/dahdi/xpp/xpp_dahdi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c index 42e19e0..e88abf3 100644 --- a/drivers/dahdi/xpp/xpp_dahdi.c +++ b/drivers/dahdi/xpp/xpp_dahdi.c @@ -885,7 +885,7 @@ int xpp_maint(struct dahdi_span *span, int cmd) * If the watchdog detects no received data, it will call the * watchdog routine */ -static int xpp_watchdog(struct dahdi_span *span, int cause) +int xpp_watchdog(struct dahdi_span *span, int cause) { static int rate_limit = 0; @@ -893,6 +893,7 @@ static int xpp_watchdog(struct dahdi_span *span, int cause) DBG(GENERAL, "\n"); return 0; } +EXPORT_SYMBOL(xpp_watchdog); #endif /* |