master/cdev.c
changeset 1019 ed69d862ff44
parent 1001 a8eab75aa8e3
child 1029 61ffe5f22306
equal deleted inserted replaced
1018:e068da25639d 1019:ed69d862ff44
    49 
    49 
    50 /** \cond */
    50 /** \cond */
    51 
    51 
    52 int eccdev_open(struct inode *, struct file *);
    52 int eccdev_open(struct inode *, struct file *);
    53 int eccdev_release(struct inode *, struct file *);
    53 int eccdev_release(struct inode *, struct file *);
    54 ssize_t eccdev_read(struct file *, char __user *, size_t, loff_t *);
       
    55 ssize_t eccdev_write(struct file *, const char __user *, size_t, loff_t *);
       
    56 long eccdev_ioctl(struct file *, unsigned int, unsigned long);
    54 long eccdev_ioctl(struct file *, unsigned int, unsigned long);
    57 
    55 
    58 /*****************************************************************************/
    56 /*****************************************************************************/
    59 
    57 
    60 static struct file_operations eccdev_fops = {
    58 static struct file_operations eccdev_fops = {