From: Randy Dunlap <randy.dunlap@oracle.com>
To: linux-kernel@vger.kernel.org
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
v4l-dvb-maintainer@linuxtv.org, video4linux-list@redhat.com,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH -next/mmotm] media/video/tuner: fix tuner_ioctl build error
Date: Fri, 19 Dec 2008 16:36:48 -0800 [thread overview]
Message-ID: <494C3E20.1070800@oracle.com> (raw)
In-Reply-To: <200812192254.mBJMsfia029162@imap1.linux-foundation.org>
From: Randy Dunlap <randy.dunlap@oracle.com>
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 <randy.dunlap@oracle.com>
cc: Mauro Carvalho Chehab <mchehab@infradead.org>
cc: v4l-dvb-maintainer@linuxtv.org
cc: video4linux-list@redhat.com
---
drivers/media/video/tuner-core.c | 5 +++++
1 file changed, 5 insertions(+)
--- mmotm-2008-1219-1438.orig/drivers/media/video/tuner-core.c
+++ mmotm-2008-1219-1438/drivers/media/video/tuner-core.c
@@ -919,6 +919,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)
--
~Randy
next prev parent reply other threads:[~2008-12-20 0:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-19 22:38 mmotm 2008-12-19-14-38 uploaded akpm
2008-12-20 0:36 ` Randy Dunlap [this message]
2008-12-20 0:45 ` [v4l-dvb-maintainer] [PATCH -next/mmotm] media/video/tuner: fix tuner_ioctl build error Hans Verkuil
2008-12-20 0:45 ` Hans Verkuil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494C3E20.1070800@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=v4l-dvb-maintainer@linuxtv.org \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.