aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-vserver/dahdi-zaphfc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dahdi-linux-vserver/dahdi-zaphfc.patch')
-rw-r--r--main/dahdi-linux-vserver/dahdi-zaphfc.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dahdi-linux-vserver/dahdi-zaphfc.patch b/main/dahdi-linux-vserver/dahdi-zaphfc.patch
index b711c07ff9..3e6c7e0a36 100644
--- a/main/dahdi-linux-vserver/dahdi-zaphfc.patch
+++ b/main/dahdi-linux-vserver/dahdi-zaphfc.patch
@@ -77,7 +77,7 @@ Index: dahdi-linux-2.1.0/drivers/dahdi/zaphfc.c
+static int modes = 0; // all TE
+static int debug = 0;
+static struct pci_dev *multi_hfc = NULL;
-+static spinlock_t registerlock = SPIN_LOCK_UNLOCKED;
++static DEFINE_SPINLOCK(registerlock);
+
+void hfc_shutdownCard(struct hfc_card *hfctmp) {
+ unsigned long flags;