mei: bus: export client protocol version
export me client protocol version to sysfs and uevent Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
59796edcf2
commit
40b7320ee4
@@ -68,6 +68,18 @@ static inline const uuid_le *mei_me_cl_uuid(const struct mei_me_client *me_cl)
|
||||
return &me_cl->props.protocol_name;
|
||||
}
|
||||
|
||||
/**
|
||||
* mei_me_cl_ver - return me client protocol version
|
||||
*
|
||||
* @me_cl: me client
|
||||
*
|
||||
* Return: me client protocol version
|
||||
*/
|
||||
static inline u8 mei_me_cl_ver(const struct mei_me_client *me_cl)
|
||||
{
|
||||
return me_cl->props.protocol_version;
|
||||
}
|
||||
|
||||
/*
|
||||
* MEI IO Functions
|
||||
*/
|
||||
|
Reference in New Issue
Block a user