From: Andrey Vagin <avagin@openvz.org>
To: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
Andrey Vagin <avagin@openvz.org>,
Peter Foley <pefoley2@pefoley.com>,
Mauro Carvalho Chehab <m.chehab@samsung.com>,
Randy Dunlap <rdunlap@infradead.org>
Subject: [PATCH] Documentation/video4linux: don't build without CONFIG_VIDEO_V4L2
Date: Fri, 29 Aug 2014 00:34:20 +0400 [thread overview]
Message-ID: <1409258060-21897-1-git-send-email-avagin@openvz.org> (raw)
Otherwise we get warnings:
WARNING: "vb2_ops_wait_finish" [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined!
WARNING: "vb2_ops_wait_prepare" [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined!
...
WARNING: "video_unregister_device" [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined!
Fixes: 8db5ab4b50fb ("Documentation: add makefiles for more targets")
Cc: Peter Foley <pefoley2@pefoley.com>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
---
Documentation/video4linux/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/video4linux/Makefile b/Documentation/video4linux/Makefile
index d58101e..f19f38e 100644
--- a/Documentation/video4linux/Makefile
+++ b/Documentation/video4linux/Makefile
@@ -1 +1,3 @@
+ifneq ($(CONFIG_VIDEO_V4L2),)
obj-m := v4l2-pci-skeleton.o
+endif
--
1.9.3
next reply other threads:[~2014-08-28 20:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 20:34 Andrey Vagin [this message]
2014-08-28 20:42 ` Randy Dunlap
2014-08-28 21:11 ` Andrey Wagin
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=1409258060-21897-1-git-send-email-avagin@openvz.org \
--to=avagin@openvz.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=m.chehab@samsung.com \
--cc=pefoley2@pefoley.com \
--cc=rdunlap@infradead.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®