summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/card_bri.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 15:49:09 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 15:49:09 +0000
commit0bcecd62480492f36775bc90ed6e86389264c7f3 (patch)
tree75b99e7ec97bdab5372837937dcca36bd6ab352f /drivers/dahdi/xpp/card_bri.c
parent3cf9ba036795c56afa9a6262460e91134ceb64de (diff)
Fix xpp compile problems on kernel < 2.6.16
Support for kernels that use the older hotplug support rather than the newer uevent. Fixes the xpp issue from #13427. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5130 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_bri.c')
-rw-r--r--drivers/dahdi/xpp/card_bri.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c
index cf0fdfa..571a10f 100644
--- a/drivers/dahdi/xpp/card_bri.c
+++ b/drivers/dahdi/xpp/card_bri.c
@@ -1505,7 +1505,9 @@ static struct xpd_driver bri_driver = {
.type = XPD_TYPE_BRI,
.driver = {
.name = "bri",
+#ifndef OLD_HOTPLUG_SUPPORT
.owner = THIS_MODULE,
+#endif
.probe = bri_xpd_probe,
.remove = bri_xpd_remove
}