aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2009-07-08 22:07:20 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:40 -0700
commitbc0db7314240c7aa2866546e80b8ba157c8009f7 (patch)
tree4a422f68a5dd521f4823b7560450cca24091c5a2 /drivers
parenta777167fbf3965cbc40f0c4594e2a7ba61c19e1f (diff)
Staging: rt*: fix wait_queue_head_t declaration on stack
othwerwise lockdep complains: "INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator." Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rt2860/rt_main_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rt2860/rt_main_dev.c b/drivers/staging/rt2860/rt_main_dev.c
index 35c59d5aa99..8fd1aafc459 100644
--- a/drivers/staging/rt2860/rt_main_dev.c
+++ b/drivers/staging/rt2860/rt_main_dev.c
@@ -190,7 +190,7 @@ int rt28xx_close(IN PNET_DEV dev)
BOOLEAN Cancelled = FALSE;
UINT32 i = 0;
#ifdef RT2870
- DECLARE_WAIT_QUEUE_HEAD(unlink_wakeup);
+ DECLARE_WAIT_QUEUE_HEAD_ONSTACK(unlink_wakeup);
DECLARE_WAITQUEUE(wait, current);
//RTMP_SET_FLAG(pAd, fRTMP_ADAPTER_REMOVE_IN_PROGRESS);