/* The character device definitions are here */ #include
/* A wrapper which does next to nothing at * at present, but may help for compatibility * with future versions of Linux */ #include
/* Our own ioctl numbers */ #include "chardev.h"
/* In 2.2.3 /usr/include/linux/version.h includes a * macro for this, but 2.0.35 doesnt - so I add it * here if necessary. */ #ifndef KERNEL_VERSION #define KERNEL_VERSION(a,b,c) ((a)*65536+(b)*256+(c))