projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a748a
)
greybus: es2: clean up csi-config request
author
Johan Hovold
<johan@hovoldconsulting.com>
Tue, 22 Dec 2015 16:55:53 +0000
(17:55 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 22 Dec 2015 20:59:02 +0000
(12:59 -0800)
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>
drivers/staging/greybus/es2.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/es2.c
b/drivers/staging/greybus/es2.c
index 7b07ab70717b685496a2cf8eec2edc0687389b5e..af5d7496c6be59478ef6e287bad99173ba751bd9 100644
(file)
--- 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)
{