media: meye: Fix build COMPILE_TEST error
authorYueHaibing <yuehaibing@huawei.com>
Sat, 15 Jun 2019 07:45:53 +0000 (03:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 21:13:26 +0000 (17:13 -0400)
If COMPILE_TEST is y and SONY_LAPTOP is m,
building fails as below:

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 6159e12e1177 ("media: meye: allow building it with COMPILE_TEST on non-x86")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/meye/Kconfig

index b0ba78abbdbbd7715452b286527864603eeef2be..b37da612dd0c2651cd53267e2e2c1ef2af6a3c64 100644 (file)
@@ -2,7 +2,8 @@
 config VIDEO_MEYE
        tristate "Sony Vaio Picturebook Motion Eye Video For Linux"
        depends on PCI && VIDEO_V4L2
-       depends on SONY_LAPTOP || COMPILE_TEST
+       depends on SONY_LAPTOP
+       depends on X86 || COMPILE_TEST
        help
          This is the video4linux driver for the Motion Eye camera found
          in the Vaio Picturebook laptops. Please read the material in