diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-11-11 16:38:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-16 00:34:18 +0100 |
commit | 4b8960b492360c115f8214ec116f469338ac2734 (patch) | |
tree | befc4b6ce34c645695ae30e80511702464568606 /drivers/misc/mei/init.c | |
parent | mei: use type struct mei_cl *cl instead of void in struct mei_cb (diff) | |
download | linux-4b8960b492360c115f8214ec116f469338ac2734.tar.xz linux-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/init.c')
-rw-r--r-- | drivers/misc/mei/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/init.c b/drivers/misc/mei/init.c index 0046ca505489..85b6520f39f1 100644 --- a/drivers/misc/mei/init.c +++ b/drivers/misc/mei/init.c @@ -597,7 +597,7 @@ int mei_disconnect_host_client(struct mei_device *dev, struct mei_cl *cl) if (!cb) return -ENOMEM; - cb->major_file_operations = MEI_CLOSE; + cb->fop_type = MEI_FOP_CLOSE; if (dev->mei_host_buffer_is_empty) { dev->mei_host_buffer_is_empty = false; if (mei_disconnect(dev, cl)) { |