The patch number 9929 was added via Mauro Carvalho Chehab <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
[email protected]
------
From: Randy Dunlap <[email protected]>
tuner: fix tuner_ioctl build error
Fix drivers/media/video/tuner-core.c so that it will build when
CONFIG_VIDEO_ALLOW_V4L1=n:
drivers/media/video/tuner-core.c:1111: error: 'tuner_ioctl' undeclared here
(not in a function)
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
---
linux/drivers/media/video/tuner-core.c | 5 +++++
1 file changed, 5 insertions(+)
diff -r 684131d6fd26 -r 1b8feb9944dd linux/drivers/media/video/tuner-core.c
--- a/linux/drivers/media/video/tuner-core.c Sat Dec 20 07:03:06 2008 -0800
+++ b/linux/drivers/media/video/tuner-core.c Fri Dec 19 16:36:48 2008 -0800
@@ -933,6 +933,11 @@ static int tuner_ioctl(struct v4l2_subde
}
return -ENOIOCTLCMD;
}
+#else
+static int tuner_ioctl(struct v4l2_subdev *sd, int cmd, void *arg)
+{
+ return -ENOIOCTLCMD;
+}
#endif
static int tuner_s_config(struct v4l2_subdev *sd, const struct
v4l2_priv_tun_config *cfg)
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/1b8feb9944dd390b9c31653c0c7f1a2f61ba097a
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits