summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xpp_dahdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/xpp/xpp_dahdi.c')
-rw-r--r--drivers/dahdi/xpp/xpp_dahdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c
index 6e7ee85..a6f7cc8 100644
--- a/drivers/dahdi/xpp/xpp_dahdi.c
+++ b/drivers/dahdi/xpp/xpp_dahdi.c
@@ -1056,6 +1056,8 @@ int dahdi_register_xpd(xpd_t *xpd)
const xops_t *xops;
BUG_ON(!xpd);
+ WARN_ON(!xpd->span.owner);
+
xops = xpd->xops;
xbus = xpd->xbus;