X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fscsi%2Fppa.c;h=96b4522523d94205312e98a16077b8fb53cbf1f7;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=6733e223adfc675a343745368aa4104951c5ca85;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/scsi/ppa.c b/drivers/scsi/ppa.c index 6733e223a..96b452252 100644 --- a/drivers/scsi/ppa.c +++ b/drivers/scsi/ppa.c @@ -49,7 +49,7 @@ static inline ppa_struct *ppa_dev(struct Scsi_Host *host) return *(ppa_struct **)&host->hostdata; } -static spinlock_t arbitration_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(arbitration_lock); static void got_it(ppa_struct *dev) {