From: Yong Zhang Date: Fri, 5 Feb 2010 13:52:40 +0000 (+0800) Subject: Staging: rt2860: correct onstack wait_queue_head declaration X-Git-Tag: v2.6.34-rc1~10^2~1^2~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e41e5d601e1c035fde488f9543c978b8ae86e1be;p=platform%2Fkernel%2Flinux-stable.git Staging: rt2860: correct onstack wait_queue_head declaration Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy Signed-off-by: Yong Zhang Cc: Greg Kroah-Hartman Cc: Bartlomiej Zolnierkiewicz Cc: Alexander Beregalov Cc: David S. Miller Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt2860/rt_main_dev.c b/drivers/staging/rt2860/rt_main_dev.c index c3d92802..fbddb00 100644 --- a/drivers/staging/rt2860/rt_main_dev.c +++ b/drivers/staging/rt2860/rt_main_dev.c @@ -216,7 +216,7 @@ int rt28xx_close(struct net_device *dev) u32 i = 0; #ifdef RTMP_MAC_USB - DECLARE_WAIT_QUEUE_HEAD(unlink_wakeup); + DECLARE_WAIT_QUEUE_HEAD_ONSTACK(unlink_wakeup); DECLARE_WAITQUEUE(wait, current); #endif /* RTMP_MAC_USB // */