summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong Zhang <yong.zhang0@gmail.com>2010-02-05 21:52:40 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-03 16:42:55 -0800
commite41e5d601e1c035fde488f9543c978b8ae86e1be (patch)
tree1fbe98131b19a2aad803184c796cb76f75eac26f
parent01823a13dca4de28ddb55b63c3334ff928b3abbc (diff)
downloadblackbird-obmc-linux-e41e5d601e1c035fde488f9543c978b8ae86e1be.tar.gz
blackbird-obmc-linux-e41e5d601e1c035fde488f9543c978b8ae86e1be.zip
Staging: rt2860: correct onstack wait_queue_head declaration
Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy Signed-off-by: Yong Zhang <yong.zhang0@gmail.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: Alexander Beregalov <a.beregalov@gmail.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 c3d92802d0c9..fbddb00cfedd 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 // */
OpenPOWER on IntegriCloud