diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-11-11 16:38:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-16 00:34:18 +0100 |
commit | a562d5c25aa48c23774ab8d60bfd3bbcbca4bf1d (patch) | |
tree | a9a990d28b42502b2a6fe7e5ab56128707b42f86 /drivers/misc/mei/mei_dev.h | |
parent | mei: rename enum mei_cb_major_types to enum mei_cb_file_ops (diff) | |
download | linux-a562d5c25aa48c23774ab8d60bfd3bbcbca4bf1d.tar.xz linux-a562d5c25aa48c23774ab8d60bfd3bbcbca4bf1d.zip |
mei: move amthif specific release code to amithif
Move amthif code part into separate function
mei_amthif_release.
Also helper functions mei_clear_list and mei_clear_lists
are moved along
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/mei_dev.h')
-rw-r--r-- | drivers/misc/mei/mei_dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 59e94c24690b..bdad35e7aa54 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h @@ -389,6 +389,8 @@ int mei_amthif_write(struct mei_device *dev, struct mei_cl_cb *priv_cb); int mei_amthif_read(struct mei_device *dev, struct file *file, char __user *ubuf, size_t length, loff_t *offset); +int mei_amthif_release(struct mei_device *dev, struct file *file); + struct mei_cl_cb *mei_amthif_find_read_list_entry(struct mei_device *dev, struct file *file); |