diff options
author | Holger Waechtler <devnull@localhost> | 2002-11-08 13:34:41 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2002-11-08 13:34:41 +0000 |
commit | 1f0c5fd0f444e7e1650df9ef1eb33ee278ed8be7 (patch) | |
tree | 416b30e920081fc422ee625a34e953e5b34fdc08 /linux/drivers/media | |
parent | 3bca8804b558e307f5490c1086814dc008cc4b84 (diff) | |
download | mediapointer-dvb-s2-1f0c5fd0f444e7e1650df9ef1eb33ee278ed8be7.tar.gz mediapointer-dvb-s2-1f0c5fd0f444e7e1650df9ef1eb33ee278ed8be7.tar.bz2 |
fake __devexit_p() for old kernels
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/compat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/compat.h b/linux/drivers/media/dvb/dvb-core/compat.h index 33f30145c..7e439f4e2 100644 --- a/linux/drivers/media/dvb/dvb-core/compat.h +++ b/linux/drivers/media/dvb/dvb-core/compat.h @@ -24,6 +24,15 @@ #endif +#ifndef __devexit_p +#if defined(MODULE) +#define __devexit_p(x) x +#else +#define __devexit_p(x) NULL +#endif +#endif + + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)) || !CONFIG_VIDEO_DEV #define video_usercopy generic_usercopy |