[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190615074553.30084-1-yuehaibing@huawei.com>
Date: Sat, 15 Jun 2019 15:45:53 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <mchehab@...nel.org>, <ckeepax@...nsource.wolfsonmicro.com>,
<gregkh@...uxfoundation.org>, <tiwai@...e.de>,
<sakari.ailus@...ux.intel.com>, <hverkuil-cisco@...all.nl>
CC: <linux-kernel@...r.kernel.org>, <linux-media@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH] media: meye: Fix build COMPILE_TEST error
If COMPILE_TEST is y and SONY_LAPTOP is m,
building fais as below:
drivers/media/pci/meye/meye.o: In function `meye_s_ctrl':
meye.c:(.text+0xafa): undefined reference to `sony_pic_camera_command'
Reported-by: Hulk Robot <hulkci@...wei.com>
Fixes: 6159e12e1177 ("media: meye: allow building it with COMPILE_TEST on non-x86")
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/media/pci/meye/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/pci/meye/Kconfig b/drivers/media/pci/meye/Kconfig
index b0ba78a..b37da61 100644
--- a/drivers/media/pci/meye/Kconfig
+++ b/drivers/media/pci/meye/Kconfig
@@ -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
--
2.7.4
Powered by blists - more mailing lists