diff options
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 |