summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core/compat.h
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-04-20 08:15:32 +0000
committerHolger Waechtler <devnull@localhost>2003-04-20 08:15:32 +0000
commit5811bc6336082441bbc23762a011cb814d4f23db (patch)
tree7805a09318f8f333736f3ed0f46e6939128255fa /linux/drivers/media/dvb/dvb-core/compat.h
parent96245fc3048291b4ccea9eae8ebb882c1ec849e0 (diff)
downloadmediapointer-dvb-s2-5811bc6336082441bbc23762a011cb814d4f23db.tar.gz
mediapointer-dvb-s2-5811bc6336082441bbc23762a011cb814d4f23db.tar.bz2
add cx24110 driver and remove LINUX_VERSION_CODE checks from regular code -
these belong to compat.h... maybe we want to change the devfs_mk_dir() declaration to follow >2.5.66 semantics by default, but this would require a few more lines of code
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/compat.h')
-rw-r--r--linux/drivers/media/dvb/dvb-core/compat.h6
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