From 5af359015ddc9e36fc7a6620dbc0e8a1bdd08e93 Mon Sep 17 00:00:00 2001 From: Douglas Schilling Landgraf Date: Sun, 10 Feb 2008 15:39:20 -0200 Subject: arv/planb/vino: Add kernel validation to mutex From: Douglas Schilling Landgraf Added kernel validation to support mutex/semaphore. (kernel < 2.6.16) Signed-off-by: Douglas Schilling Landgraf --- linux/drivers/media/video/planb.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/drivers/media/video/planb.c') diff --git a/linux/drivers/media/video/planb.c b/linux/drivers/media/video/planb.c index 358dc2996..e9860c883 100644 --- a/linux/drivers/media/video/planb.c +++ b/linux/drivers/media/video/planb.c @@ -50,7 +50,10 @@ #include #include #include + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 16) #include +#endif #include "planb.h" #include "saa7196.h" -- cgit v1.2.3