diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-11-11 17:38:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-15 15:34:18 -0800 |
commit | 4b8960b492360c115f8214ec116f469338ac2734 (patch) | |
tree | befc4b6ce34c645695ae30e80511702464568606 /drivers/misc/mei/iorw.c | |
parent | db3ed43185c6f5d4fd6c5ac963347b849540996e (diff) | |
download | linux-3.10-4b8960b492360c115f8214ec116f469338ac2734.tar.gz linux-3.10-4b8960b492360c115f8214ec116f469338ac2734.tar.bz2 linux-3.10-4b8960b492360c115f8214ec116f469338ac2734.zip |
mei: rename enum mei_cb_major_types to enum mei_cb_file_ops
1. Rename mei_cb_major_types to more understandable mei_cb_file_ops
2. Rename member struct mei_cl_cb of this type to simple 'fop_type'
3. Add kernel doc for the type
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/iorw.c')
-rw-r--r-- | drivers/misc/mei/iorw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/mei/iorw.c b/drivers/misc/mei/iorw.c index cc53ce766e8..cf1107658bc 100644 --- a/drivers/misc/mei/iorw.c +++ b/drivers/misc/mei/iorw.c @@ -193,7 +193,7 @@ int mei_ioctl_connect_client(struct file *file, goto end; } - cb->major_file_operations = MEI_IOCTL; + cb->fop_type = MEI_FOP_IOCTL; if (dev->dev_state != MEI_DEV_ENABLED) { rets = -ENODEV; @@ -360,7 +360,7 @@ int mei_start_read(struct mei_device *dev, struct mei_cl *cl) if (rets) goto err; - cb->major_file_operations = MEI_READ; + cb->fop_type = MEI_FOP_READ; cl->read_cb = cb; if (dev->mei_host_buffer_is_empty) { dev->mei_host_buffer_is_empty = false; |