From 19f94f97003a70a5241efff035f6c181c290a799 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 25 Sep 2014 11:23:27 -0700 Subject: v4l2-pci-skeleton: Only build if PCI is available Currently arm64 does not support PCI but it does support v4l2. Since the PCI skeleton driver is built unconditionally as a module with no dependency on PCI this causes build failures for arm64 allmodconfig. Fix this by defining a symbol VIDEO_PCI_SKELETON for the skeleton and conditionalising the build on that. Signed-off-by: Mark Brown Signed-off-by: Randy Dunlap [added VIDEO dependencies] Signed-off-by: Jiri Kosina --- Documentation/video4linux/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Documentation/video4linux/Makefile') diff --git a/Documentation/video4linux/Makefile b/Documentation/video4linux/Makefile index d58101e788fc..65a351d75c95 100644 --- a/Documentation/video4linux/Makefile +++ b/Documentation/video4linux/Makefile @@ -1 +1 @@ -obj-m := v4l2-pci-skeleton.o +obj-$(CONFIG_VIDEO_PCI_SKELETON) := v4l2-pci-skeleton.o -- cgit v1.2.3-55-g7522