[PATCH] media_build: disable VIDEO_SMIAPP_PLL, VIDEO_MT9M032 and VIDEO_MT9P031 on old kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



VIDEO_SMIAPP_PLL can't build on vanilla kernels older than 2.6.34 as it
requires linux/lcm.h; this is not a problem with the Ubuntu 10.04 2.6.32 kernel
as it includes the new lcm.* lib/header files, so the issue was not detected
before. This fixes the error:

media_build/v4l/smiapp-pll.c:26:23: fatal error: linux/lcm.h: No such file or directory

Also, this patch explicitly disables the MT9M032 and MT9P031 drivers that
depends on APTINA_PLL; this drivers try to autoselect the APTINA_PLL dependency
and so they are not enabled by default on old kernels (where this driver is
already blacklisted) but are still manually selectable by the user through
'make menuconfig' or 'make xconfig', breaking compilation.
So it's better to explicitly blacklist this drivers too.

Signed-off-by: Gianluca Gennari <gennarone@xxxxxxxxx
---
 v4l/versions.txt |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/v4l/versions.txt b/v4l/versions.txt
index a8170c2..d0626e8 100644
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -43,7 +43,13 @@ VIDEO_TVP7002
 VIDEO_DT3155
 # Needs include/linux/lcm.h
 VIDEO_APTINA_PLL
-# Requires gpio_request_one introduced in 2.6.34
+# Depends on VIDEO_APTINA_PLL
+VIDEO_MT9M032
+# Depends on VIDEO_APTINA_PLL and requires gpio_request_one
+VIDEO_MT9P031
+# Needs include/linux/lcm.h
+VIDEO_SMIAPP_PLL
+# Depends on VIDEO_SMIAPP_PLL and requires gpio_request_one
 VIDEO_SMIAPP
 
 [2.6.33]
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux