Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit db7da79d authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman
Browse files

mei: mei_me_client is not hw API move to mei_dev.h



Move struct mei_me_client from hw.h to mei_dev.h as it is not
part of the hardware API. The structutre doesn't have to
be packed. Add kdoc for this structure.

Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fecb0d58
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -230,11 +230,5 @@ struct hbm_flow_control {
	u8 reserved[MEI_FC_MESSAGE_RESERVED_LENGTH];
	u8 reserved[MEI_FC_MESSAGE_RESERVED_LENGTH];
} __packed;
} __packed;


struct mei_me_client {
	struct mei_client_properties props;
	u8 client_id;
	u8 mei_flow_ctrl_creds;
} __packed;



#endif
#endif
+13 −0
Original line number Original line Diff line number Diff line
@@ -158,6 +158,19 @@ struct mei_message_data {
	unsigned char *data;
	unsigned char *data;
};
};


/**
 * struct mei_me_client - representation of me (fw) client
 *
 * @props  - client properties
 * @client_id - me client id
 * @mei_flow_ctrl_creds - flow control credits
 */
struct mei_me_client {
	struct mei_client_properties props;
	u8 client_id;
	u8 mei_flow_ctrl_creds;
};



struct mei_cl;
struct mei_cl;