patch-2.3.43 linux/drivers/i2c/i2c-dev.c
Next file: linux/drivers/i2c/i2c-elv.c
Previous file: linux/drivers/i2c/i2c-core.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Feb 9 11:42:35 2000
- Orig file:
v2.3.42/linux/drivers/i2c/i2c-dev.c
- Orig date:
Tue Feb 1 01:35:43 2000
diff -u --recursive --new-file v2.3.42/linux/drivers/i2c/i2c-dev.c linux/drivers/i2c/i2c-dev.c
@@ -74,16 +74,12 @@
static int i2cdev_cleanup(void);
static struct file_operations i2cdev_fops = {
- i2cdev_lseek,
- i2cdev_read,
- i2cdev_write,
- NULL, /* i2cdev_readdir */
- NULL, /* i2cdev_select */
- i2cdev_ioctl,
- NULL, /* i2cdev_mmap */
- i2cdev_open,
- NULL, /* i2cdev_flush */
- i2cdev_release,
+ llseek: i2cdev_lseek,
+ read: i2cdev_read,
+ write: i2cdev_write,
+ ioctl: i2cdev_ioctl,
+ open: i2cdev_open,
+ release: i2cdev_release,
};
#define I2CDEV_ADAPS_MAX I2C_ADAP_MAX
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)