From b4e6b3b814e3120ac58e264c7f44dde3aff671c0 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Sat, 17 Jan 2015 09:29:53 -0800 Subject: [PATCH] Update minimum kernel version to 2.6.32 The driver needs is_visible support from the kernel core. Working qround this for older kernels would be too difficult, so set the minimum kernel version to 2.6.32, which is also the oldest still supported longterm kernel. Signed-off-by: Guenter Roeck --- compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat.h b/compat.h index b670e5c..5d37fc7 100644 --- a/compat.h +++ b/compat.h @@ -3,8 +3,8 @@ #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 16) -#error This driver is for kernel versions 2.6.16 and later +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32) +#error This driver is for kernel versions 2.6.32 and later #endif #if !defined (CONFIG_HWMON_VID) && !defined(CONFIG_HWMON_VID_MODULE) -- 2.39.5