Commit a76b9f49 authored by Yong Zhang's avatar Yong Zhang Committed by Mauro Carvalho Chehab

V4L/DVB: gspca - sn9c20x: Correct onstack wait_queue_head declaration

Use DECLARE_WAIT_QUEUE_HEAD_ONSTACK to make lockdep happy
Signed-off-by: default avatarYong Zhang <>
Signed-off-by: default avatarJean-François Moine <>
CC: Brian Johnson <>
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent 84a1d9c8
......@@ -1427,7 +1427,7 @@ static int input_kthread(void *data)
struct gspca_dev *gspca_dev = (struct gspca_dev *)data;
struct sd *sd = (struct sd *) gspca_dev;
for (;;) {
if (kthread_should_stop())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment