summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/mmapdrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/xpp/mmapdrv.c')
-rw-r--r--drivers/dahdi/xpp/mmapdrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/mmapdrv.c b/drivers/dahdi/xpp/mmapdrv.c
index 6f38587..1ca3140 100644
--- a/drivers/dahdi/xpp/mmapdrv.c
+++ b/drivers/dahdi/xpp/mmapdrv.c
@@ -68,7 +68,7 @@ struct counter {
static xbus_t *global_xbus;
static bool tx_ready = 1;
-static spinlock_t tx_ready_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(tx_ready_lock);
static struct xframe_queue txpool;
static unsigned int pcm_in_pool_count;
static bool disconnecting;