X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fmacintosh%2Fadb.c;h=5855bbf02e277b7dedb8e383a2f4a392c273c15e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=b7cc2da372f44345e770504e0156ba6df2b55eb0;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c index b7cc2da37..5855bbf02 100644 --- a/drivers/macintosh/adb.c +++ b/drivers/macintosh/adb.c @@ -120,7 +120,7 @@ static struct adb_handler { * called. */ static DECLARE_MUTEX(adb_handler_sem); -static rwlock_t adb_handler_lock = RW_LOCK_UNLOCKED; +static DEFINE_RWLOCK(adb_handler_lock); #if 0 static void printADBreply(struct adb_request *req)