diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-10-11 16:35:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-24 15:37:31 -0700 |
commit | 664df38b3c74656261d4227b4dd380cfa453f78f (patch) | |
tree | 35d05f657d0cd04d562edea962bc9122179caf64 /drivers/misc/mei/mei_dev.h | |
parent | 601a1efa630aab0ca72bf8d638c441a09654b250 (diff) | |
download | op-kernel-dev-664df38b3c74656261d4227b4dd380cfa453f78f.zip op-kernel-dev-664df38b3c74656261d4227b4dd380cfa453f78f.tar.gz |
mei: use mei_io_cb_ warppers also for control flows
move the mei_io_cb_ wrappers to to iorw.c for global use
and use them also for handling control flows
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 4545a9e..6adcb3f 100644 --- a/drivers/misc/mei/mei_dev.h +++ b/drivers/misc/mei/mei_dev.h @@ -293,7 +293,11 @@ int mei_me_cl_by_id(struct mei_device *dev, u8 client_id); /* * MEI IO Functions */ +struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, struct file *fp); void mei_io_cb_free(struct mei_cl_cb *priv_cb); +int mei_io_cb_alloc_req_buf(struct mei_cl_cb *cb, size_t length); +int mei_io_cb_alloc_resp_buf(struct mei_cl_cb *cb, size_t length); + /** * mei_io_list_init - Sets up a queue list. |