summaryrefslogtreecommitdiff
path: root/drivers/misc/mei
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2018-12-23 20:17:51 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-13 15:48:39 +0100
commit4ad84cb56b0088f62b0369f36451ebb0fe16f423 (patch)
treef6e3fd1e0a193996a6195dc89bb8c06f1b0115b6 /drivers/misc/mei
parenta2915698ba08ff7c88e2ae691f71bcfd4c86884f (diff)
mei: squash single_recv_buf into one bit in client properties
single_recv_buf member of struct mei_client_properties has a boolean value and can be represented in on bit, to free other 7 bits for another usage. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> 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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h
index 2b7f7677f8cc..b7d2487b8409 100644
--- a/drivers/misc/mei/hw.h
+++ b/drivers/misc/mei/hw.h
@@ -311,7 +311,8 @@ struct mei_client_properties {
u8 protocol_version;
u8 max_number_of_connections;
u8 fixed_address;
- u8 single_recv_buf;
+ u8 single_recv_buf:1;
+ u8 reserved:7;
u32 max_msg_length;
} __packed;