[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1409258060-21897-1-git-send-email-avagin@openvz.org>
Date: Fri, 29 Aug 2014 00:34:20 +0400
From: Andrey Vagin <avagin@...nvz.org>
To: linux-doc@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
Andrey Vagin <avagin@...nvz.org>,
Peter Foley <pefoley2@...oley.com>,
Mauro Carvalho Chehab <m.chehab@...sung.com>,
Randy Dunlap <rdunlap@...radead.org>
Subject: [PATCH] Documentation/video4linux: don't build without CONFIG_VIDEO_V4L2
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@...oley.com>
Cc: Mauro Carvalho Chehab <m.chehab@...sung.com>
Cc: Randy Dunlap <rdunlap@...radead.org>
Signed-off-by: Andrey Vagin <avagin@...nvz.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists