]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
v4l2-pci-skeleton: Only build if PCI is available
authorMark Brown <broonie@kernel.org>
Thu, 25 Sep 2014 18:23:27 +0000 (11:23 -0700)
committerJiri Kosina <jkosina@suse.cz>
Fri, 26 Sep 2014 09:02:58 +0000 (11:02 +0200)
commit19f94f97003a70a5241efff035f6c181c290a799
tree39dcdddf446379b45e8bc269f29e2ddfb5744b10
parent6ab0e475f1f38b6be90aff4ef3ebf928c4a73dc8
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 <broonie@linaro.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org> [added VIDEO dependencies]
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/video4linux/Makefile
drivers/media/v4l2-core/Kconfig