diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2015-12-22 17:55:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-12-22 12:59:02 -0800 |
commit | a5a7723a0d3762387fc765e69f0ab61fd4d47f00 (patch) | |
tree | bdd558f7ed61038e36d20a6fb3931807f99f78f4 /drivers/staging/greybus/es2.c | |
parent | 61a748a30d883996c80cc2a4cda9b1e056c75c1b (diff) | |
download | op-kernel-dev-a5a7723a0d3762387fc765e69f0ab61fd4d47f00.zip op-kernel-dev-a5a7723a0d3762387fc765e69f0ab61fd4d47f00.tar.gz |
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>
Diffstat (limited to 'drivers/staging/greybus/es2.c')
-rw-r--r-- | drivers/staging/greybus/es2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c index 7b07ab7..af5d7496 100644 --- a/drivers/staging/greybus/es2.c +++ b/drivers/staging/greybus/es2.c @@ -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) { |