/* * Called for ioctl(). Just pass through. */ static int dev_ioctl(struct inode *node, struct file *filp, unsigned int cmd, void *data) { struct device *dev = vop_info(node, device); return dop_ioctl(dev, filp, cmd, data); }
/* * Called for ioctl(). Just pass through. */ static int dev_ioctl(struct inode *node, int op, void *data) { struct device *dev = vop_info(node, device); return dop_ioctl(dev, op, data); }