diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-02-28 14:50:47 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-02-28 14:50:47 +0100 |
commit | 631f0929c155087648acdd00ef0e2039737f8803 (patch) | |
tree | d3ac6f929a2cfcbc9cd5604c8d538adae71006c2 /driver/compat.h | |
parent | 30d740cc6accc3bd477e6bc924d5b74dad71ee6d (diff) | |
download | pcitool-631f0929c155087648acdd00ef0e2039737f8803.tar.gz pcitool-631f0929c155087648acdd00ef0e2039737f8803.tar.bz2 pcitool-631f0929c155087648acdd00ef0e2039737f8803.tar.xz pcitool-631f0929c155087648acdd00ef0e2039737f8803.zip |
Support emulation mode without real hardware
Diffstat (limited to 'driver/compat.h')
-rw-r--r-- | driver/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |