mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
greybus: es2: clean up csi-config request
Use __packed and __u8 for csi-config request that is going out on the wire. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
61a748a30d
commit
a5a7723a0d
1 changed files with 5 additions and 5 deletions
|
@ -135,12 +135,12 @@ struct cport_to_ep {
|
|||
};
|
||||
|
||||
struct es2_ap_csi_config_request {
|
||||
u8 csi_id;
|
||||
u8 clock_mode;
|
||||
u8 num_lanes;
|
||||
u8 padding;
|
||||
__u8 csi_id;
|
||||
__u8 clock_mode;
|
||||
__u8 num_lanes;
|
||||
__u8 padding;
|
||||
__le32 bus_freq;
|
||||
} __attribute__((__packed__));
|
||||
} __packed;
|
||||
|
||||
static inline struct es2_ap_dev *hd_to_es2(struct gb_host_device *hd)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue