diff options
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/compat.h')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/compat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/compat.h b/linux/drivers/media/dvb/dvb-core/compat.h index 37207413b..4ab3ef8c4 100644 --- a/linux/drivers/media/dvb/dvb-core/compat.h +++ b/linux/drivers/media/dvb/dvb-core/compat.h @@ -125,5 +125,11 @@ extern struct page * vmalloc_to_page(void *addr); #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) #endif + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,66)) +#define devfs_mk_dir(parent,name,info) devfs_mk_dir(name) +#endif + + #endif |