diff mbox

[3/4] V4L/DVB: gspca - sn9c20x: correct onstack wait_queue_head declaration

Message ID bc78da996dc04da174f51d2dbe1df4b084a07a3f.1265375697.git.yong.zhang0@gmail.com (mailing list archive)
State Superseded
Headers show

Commit Message

Yong Zhang Feb. 5, 2010, 1:52 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/video/gspca/sn9c20x.c b/drivers/media/video/gspca/sn9c20x.c
index 0ca1c06..8f75fbc 100644
--- a/drivers/media/video/gspca/sn9c20x.c
+++ b/drivers/media/video/gspca/sn9c20x.c
@@ -1426,7 +1426,7 @@  static int input_kthread(void *data)
 	struct gspca_dev *gspca_dev = (struct gspca_dev *)data;
 	struct sd *sd = (struct sd *) gspca_dev;
 
-	DECLARE_WAIT_QUEUE_HEAD(wait);
+	DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wait);
 	set_freezable();
 	for (;;) {
 		if (kthread_should_stop())