diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-06-19 17:12:58 +0100 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2018-09-08 14:53:20 +0100 |
commit | 3e8425b034a450e60d96b10d35b5b1c9211c49b1 (patch) | |
tree | b81b5120a776a1c3e0a888e36fd6e90ebbc6161a | |
parent | ddbc2a4dc6aa74a257bdcec1f6d65759cd24af6a (diff) |
slimbus: core: rearrange slim_eaddr structure
Rearrange struct slim_eaddr so that the structure is packed correctly
to be able to send in SLIMBus messages.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/slimbus.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/slimbus.h b/include/linux/slimbus.h index 145affcb64370..12c9719b2a554 100644 --- a/include/linux/slimbus.h +++ b/include/linux/slimbus.h @@ -14,16 +14,16 @@ extern struct bus_type slimbus_bus; /** * struct slim_eaddr - Enumeration address for a SLIMbus device - * @manf_id: Manufacturer Id for the device - * @prod_code: Product code - * @dev_index: Device index * @instance: Instance value + * @dev_index: Device index + * @prod_code: Product code + * @manf_id: Manufacturer Id for the device */ struct slim_eaddr { - u16 manf_id; - u16 prod_code; - u8 dev_index; u8 instance; + u8 dev_index; + u16 prod_code; + u16 manf_id; } __packed; /** |