From: Milind Arun Choudhary Date: Wed, 11 Apr 2007 17:54:34 +0000 (+0530) Subject: ieee1394: SPIN_LOCK_UNLOCKED cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=df18ce85de3deeaf311f96eb3d47e45fc7050f87;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ieee1394: SPIN_LOCK_UNLOCKED cleanup SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK instead Signed-off-by: Milind Arun Choudhary Signed-off-by: Stefan Richter --- diff --git a/drivers/ieee1394/ieee1394_transactions.c b/drivers/ieee1394/ieee1394_transactions.c index 0272dacccd69..f144133df99e 100644 --- a/drivers/ieee1394/ieee1394_transactions.c +++ b/drivers/ieee1394/ieee1394_transactions.c @@ -37,7 +37,7 @@ #ifndef HPSB_DEBUG_TLABELS static #endif -spinlock_t hpsb_tlabel_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(hpsb_tlabel_lock); static DECLARE_WAIT_QUEUE_HEAD(tlabel_wq);