|
@@ -78,7 +78,7 @@ struct mdev_parent_ops {
|
|
size_t count, loff_t *ppos);
|
|
size_t count, loff_t *ppos);
|
|
ssize_t (*write)(struct mdev_device *mdev, const char __user *buf,
|
|
ssize_t (*write)(struct mdev_device *mdev, const char __user *buf,
|
|
size_t count, loff_t *ppos);
|
|
size_t count, loff_t *ppos);
|
|
- ssize_t (*ioctl)(struct mdev_device *mdev, unsigned int cmd,
|
|
|
|
|
|
+ long (*ioctl)(struct mdev_device *mdev, unsigned int cmd,
|
|
unsigned long arg);
|
|
unsigned long arg);
|
|
int (*mmap)(struct mdev_device *mdev, struct vm_area_struct *vma);
|
|
int (*mmap)(struct mdev_device *mdev, struct vm_area_struct *vma);
|
|
};
|
|
};
|