aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2012-12-25 12:06:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-07 13:31:28 -0500
commitdb7da79df1a9eafb4f07653bf9011537325a9b62 (patch)
treed5612ef4f7203ea4ac7a0d34d6378f16b4ffc513 /drivers/misc/mei
parentfecb0d584ee96fb2ab3c65825029a66a23ee7e31 (diff)
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: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei')
-rw-r--r--drivers/misc/mei/hw.h6
-rw-r--r--drivers/misc/mei/mei_dev.h13
2 files changed, 13 insertions, 6 deletions
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h
index ba7d06ce8858..6ebb369af668 100644
--- a/drivers/misc/mei/hw.h
+++ b/drivers/misc/mei/hw.h
@@ -230,11 +230,5 @@ struct hbm_flow_control {
230 u8 reserved[MEI_FC_MESSAGE_RESERVED_LENGTH]; 230 u8 reserved[MEI_FC_MESSAGE_RESERVED_LENGTH];
231} __packed; 231} __packed;
232 232
233struct mei_me_client {
234 struct mei_client_properties props;
235 u8 client_id;
236 u8 mei_flow_ctrl_creds;
237} __packed;
238
239 233
240#endif 234#endif
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 6ea430e49f13..228a98c97b37 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -158,6 +158,19 @@ struct mei_message_data {
158 unsigned char *data; 158 unsigned char *data;
159}; 159};
160 160
161/**
162 * struct mei_me_client - representation of me (fw) client
163 *
164 * @props - client properties
165 * @client_id - me client id
166 * @mei_flow_ctrl_creds - flow control credits
167 */
168struct mei_me_client {
169 struct mei_client_properties props;
170 u8 client_id;
171 u8 mei_flow_ctrl_creds;
172};
173
161 174
162struct mei_cl; 175struct mei_cl;
163 176