mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
move compatibility stuff to dd_compat.h
This commit is contained in:
parent
29cc552a6b
commit
fa4e3331d8
@ -1,3 +1,11 @@
|
|||||||
|
#include <linux/version.h>
|
||||||
|
|
||||||
|
#if (KERNEL_VERSION(3, 8, 0) <= LINUX_VERSION_CODE)
|
||||||
|
#define __devexit
|
||||||
|
#define __devinit
|
||||||
|
#define __devinitconst
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __has_attribute
|
#ifndef __has_attribute
|
||||||
#define __has_attribute(x) 0
|
#define __has_attribute(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user