diff options
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/compat.h')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/compat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/compat.h b/linux/drivers/media/dvb/dvb-core/compat.h index 7e439f4e2..bc0e7c2bd 100644 --- a/linux/drivers/media/dvb/dvb-core/compat.h +++ b/linux/drivers/media/dvb/dvb-core/compat.h @@ -60,5 +60,12 @@ extern struct page * vmalloc_to_page(void *addr); #endif + +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,45)) +extern u32 crc32_le (u32 crc, unsigned char const *p, size_t len); +#else +#include <linux/crc32.h> +#endif + #endif |