[PATCH] drivers/media/radio/radio-cadet.c: replace interruptible_sleep_on() From: irwan.djajadi@iname.com Replace interruptible_sleep_on() with wait_event_interruptible(). Signed-off-by: Irwan Djajadi Signed-off-by: Alexey Dobriyan Index: linux-kj/drivers/media/radio/radio-cadet.c =================================================================== --- linux-kj.orig/drivers/media/radio/radio-cadet.c 2006-01-18 02:21:32.000000000 +0300 +++ linux-kj/drivers/media/radio/radio-cadet.c 2006-01-18 16:45:28.000000000 +0300 @@ -341,7 +341,7 @@ static ssize_t cadet_read(struct file *f if(rdsin==rdsout) { if (file->f_flags & O_NONBLOCK) return -EWOULDBLOCK; - interruptible_sleep_on(&read_queue); + wait_event_interruptible(read_queue, rdsin != rdsout); } while( i