From 631f0929c155087648acdd00ef0e2039737f8803 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 28 Feb 2016 14:50:47 +0100 Subject: Support emulation mode without real hardware --- driver/compat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'driver/compat.h') diff --git a/driver/compat.h b/driver/compat.h index fd3f188..5232a22 100644 --- a/driver/compat.h +++ b/driver/compat.h @@ -10,6 +10,12 @@ #ifndef _COMPAT_H #define _COMPAT_H +/* +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0) +# error "Linux 3.0 and latter are supported" +#endif +*/ + #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0) # define __devinit # define __devexit -- cgit v1.2.3