diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2014-08-24 13:08:55 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 09:57:47 +0400 |
commit | d320832f64666089a06778782e42fac29abd7bf7 (patch) | |
tree | 19fd44ea6cd1b93a178763345a736f193284132f /drivers/misc/mei/client.h | |
parent | 68d1aa65978b86b2ca5bdf7211b27cfd32c3212d (diff) | |
download | linux-d320832f64666089a06778782e42fac29abd7bf7.tar.xz |
mei: me_client lookup function to return me_client object
For support of dynamic addition and removal of me clients
it is more convenient to use a list instead of static array
as is use now.
As the first step of the transition to the new data structure
we change the lookup function so it returns me client address
instead of an index.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/client.h')
-rw-r--r-- | drivers/misc/mei/client.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index bf2b0b1b493d..ddb95b2ee2ac 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h @@ -24,8 +24,9 @@ #include "mei_dev.h" -int mei_me_cl_by_uuid(const struct mei_device *dev, const uuid_le *cuuid); -int mei_me_cl_by_id(struct mei_device *dev, u8 client_id); +struct mei_me_client *mei_me_cl_by_uuid(const struct mei_device *dev, + const uuid_le *cuuid); +struct mei_me_client *mei_me_cl_by_id(struct mei_device *dev, u8 client_id); /* * MEI IO Functions |