diff --git a/include/dd_compat.h b/include/dd_compat.h index 50bcced..d1f019d 100644 --- a/include/dd_compat.h +++ b/include/dd_compat.h @@ -1,3 +1,11 @@ +#include + +#if (KERNEL_VERSION(3, 8, 0) <= LINUX_VERSION_CODE) +#define __devexit +#define __devinit +#define __devinitconst +#endif + #ifndef __has_attribute #define __has_attribute(x) 0 #endif