From: Robert Fitzsimons <robfitz@273k.net>
Date: Tue, 1 Apr 2008 14:42:28 +0000 (-0300)
Subject: V4L/DVB (7400): bttv: Add a radio compat_ioctl file operation
X-Git-Tag: firefly_0821_release~21770^2~6
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c137918978889fa4711d286e0a8ca3d93fdcb991;p=firefly-linux-kernel-4.4.55.git

V4L/DVB (7400): bttv: Add a radio compat_ioctl file operation

Signed-off-by: Robert Fitzsimons <robfitz@273k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
---

diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index ee826fd1b2ca..e68326f28097 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -3611,6 +3611,7 @@ static const struct file_operations radio_fops =
 	.open	  = radio_open,
 	.read     = radio_read,
 	.release  = radio_release,
+	.compat_ioctl	= v4l_compat_ioctl32,
 	.ioctl	  = video_ioctl2,
 	.llseek	  = no_llseek,
 	.poll     = radio_poll,