summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core/dvbdev.h
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-05-28 07:46:27 +0000
committerMichael Hunold <devnull@localhost>2003-05-28 07:46:27 +0000
commit0df7b4ed2d78a2ba2001aaee8963cc1091b4070b (patch)
tree6857fa30358730a8c9b0ffdecf961e3e0bce54e6 /linux/drivers/media/dvb/dvb-core/dvbdev.h
parent2feacfc60c10a49db84307b7e1fb63d19349d484 (diff)
downloadmediapointer-dvb-s2-0df7b4ed2d78a2ba2001aaee8963cc1091b4070b.tar.gz
mediapointer-dvb-s2-0df7b4ed2d78a2ba2001aaee8963cc1091b4070b.tar.bz2
Feed 2.5 changes to CVS.
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dvbdev.h')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvbdev.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvbdev.h b/linux/drivers/media/dvb/dvb-core/dvbdev.h
index 33b8089b2..d1d9922c1 100644
--- a/linux/drivers/media/dvb/dvb-core/dvbdev.h
+++ b/linux/drivers/media/dvb/dvb-core/dvbdev.h
@@ -27,7 +27,6 @@
#include <asm/types.h>
#include <linux/poll.h>
#include <linux/fs.h>
-#include <linux/devfs_fs_kernel.h>
#include <linux/list.h>
#define DVB_MAJOR 250
@@ -45,7 +44,9 @@
struct dvb_adapter {
int num;
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
devfs_handle_t devfs_handle;
+#endif
struct list_head list_head;
struct list_head device_list;
const char *name;
@@ -55,7 +56,9 @@ struct dvb_adapter {
struct dvb_device {
struct list_head list_head;
struct file_operations *fops;
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
devfs_handle_t devfs_handle;
+#endif
struct dvb_adapter *adapter;
int type;
u32 id;