static int cdev_poll(file_t *filp, px4_pollfd_struct_t *fds, bool setup) { CDev *cdev = (CDev *)(filp->f_inode->i_private); return cdev->poll(filp, fds, setup); }
static int cdev_poll(struct file *filp, struct pollfd *fds, bool setup) { CDev *cdev = (CDev *)(filp->f_inode->i_private); return cdev->poll(filp, fds, setup); }