提交 db455d66 编写于 作者: S Srinivas Kandagatla 提交者: Greg Kroah-Hartman

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: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e0772de8
......@@ -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;
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册