V4L/DVB (11372): v4l2: use old-style i2c API for kernels < 2.6.26 instead of < 2...
[safe/jmp/linux-2.6] / include / media / v4l2-dev.h
index 4d8ce34..2058dd4 100644 (file)
@@ -38,8 +38,10 @@ struct v4l2_file_operations {
        ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);
        ssize_t (*write) (struct file *, const char __user *, size_t, loff_t *);
        unsigned int (*poll) (struct file *, struct poll_table_struct *);
-       int (*ioctl) (struct file *, unsigned int, unsigned long);
+       long (*ioctl) (struct file *, unsigned int, unsigned long);
        long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);
+       unsigned long (*get_unmapped_area) (struct file *, unsigned long,
+                               unsigned long, unsigned long, unsigned long);
        int (*mmap) (struct file *, struct vm_area_struct *);
        int (*open) (struct file *);
        int (*release) (struct file *);