]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
mei: mei_me_client is not hw API move to mei_dev.h
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 25 Dec 2012 17:06:05 +0000 (19:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 18:31:28 +0000 (10:31 -0800)
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>
drivers/misc/mei/hw.h
drivers/misc/mei/mei_dev.h

index ba7d06ce8858f8907b4603b206624ebbc92a8da5..6ebb369af668d45f2b5fad4c4e757c3dc360ef4f 100644 (file)
@@ -230,11 +230,5 @@ struct hbm_flow_control {
        u8 reserved[MEI_FC_MESSAGE_RESERVED_LENGTH];
 } __packed;
 
-struct mei_me_client {
-       struct mei_client_properties props;
-       u8 client_id;
-       u8 mei_flow_ctrl_creds;
-} __packed;
-
 
 #endif
index 6ea430e49f13a668d8453463f416d3ccf3fa65ed..228a98c97b37108a914c98cc5440b516e7957b15 100644 (file)
@@ -158,6 +158,19 @@ struct mei_message_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;