media: v4l2-pci-skeleton: depend on CONFIG_SAMPLES
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 26 Nov 2018 18:01:23 +0000 (13:01 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 3 Dec 2018 19:42:22 +0000 (14:42 -0500)
commitba08e61a7990976a35fe38b2d7790090150186e9
tree0482ddb5187be2598f547f29d94933c93143ce70
parentb52b88ce5bd68e9f6ce4f01d2306e61ce34fc5a0
media: v4l2-pci-skeleton: depend on CONFIG_SAMPLES

Commit 0185f8501762 ("[media] samples: v4l: from Documentation to
samples directory") moved the v4l2-pci-skeleton driver to the samples
directory. The samples are only be built, if CONFIG_SAMPLES is enabled.

Therefore, VIDEO_PCI_SKELETON is not enough to build the
v4l2-pci-skeleton driver, but SAMPLES needs to be enabled, too. Let
VIDEO_PCI_SKELETON depend on SAMPLES.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/Kconfig