vserver 1.9.5.x5
[linux-2.6.git] / drivers / media / dvb / dvb-core / dvbdev.h
index fc4700f..333ada7 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/fs.h>
 #include <linux/list.h>
 #include <linux/devfs_fs_kernel.h>
+#include <linux/smp_lock.h>
 
 #define DVB_MAJOR 212
 
@@ -48,6 +49,7 @@ struct dvb_adapter {
        struct list_head device_list;
        const char *name;
        u8 proposed_mac [6];
+       void* priv;
 
        struct module *module;
 };
@@ -92,5 +94,15 @@ extern int dvb_generic_open (struct inode *inode, struct file *file);
 extern int dvb_generic_release (struct inode *inode, struct file *file);
 extern int dvb_generic_ioctl (struct inode *inode, struct file *file,
                              unsigned int cmd, unsigned long arg);
+
+/* we don't mess with video_usercopy() any more,
+we simply define out own dvb_usercopy(), which will hopefully become
+generic_usercopy()  someday... */
+
+extern int dvb_usercopy(struct inode *inode, struct file *file,
+                           unsigned int cmd, unsigned long arg,
+                           int (*func)(struct inode *inode, struct file *file,
+                           unsigned int cmd, void *arg));
+
 #endif /* #ifndef _DVBDEV_H_ */