greybus: camera: fix data types of operations
In some operations definitions it was introduce some new fields with the wrong data types, u8, instead of __u8. And because of this gbsim build was broken. Fixes: 3a1d7aa15bf6 ("greybus: Add camera protocol definition") Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
65fabd1848
commit
8e77c83e2a
@ -1143,18 +1143,18 @@ struct gb_camera_stream_config_response {
|
||||
struct gb_camera_configure_streams_response {
|
||||
__le16 num_streams;
|
||||
#define GB_CAMERA_CONFIGURE_STREAMS_ADJUSTED 0x01
|
||||
u8 flags;
|
||||
u8 padding;
|
||||
__u8 flags;
|
||||
__u8 padding;
|
||||
struct gb_camera_stream_config_response config[0];
|
||||
} __packed;
|
||||
|
||||
/* Greybus Camera Capture request payload - response has no payload */
|
||||
struct gb_camera_capture_request {
|
||||
__le32 request_id;
|
||||
u8 streams;
|
||||
u8 padding;
|
||||
__u8 streams;
|
||||
__u8 padding;
|
||||
__le16 num_frames;
|
||||
u8 settings[0];
|
||||
__u8 settings[0];
|
||||
} __packed;
|
||||
|
||||
/* Greybus Camera Flush response payload - request has no payload */
|
||||
@ -1168,7 +1168,7 @@ struct gb_camera_metadata_request {
|
||||
__le16 frame_number;
|
||||
__u8 stream;
|
||||
__u8 padding;
|
||||
u8 metadata[0];
|
||||
__u8 metadata[0];
|
||||
} __packed;
|
||||
|
||||
/* Lights */
|
||||
|
Loading…
x
Reference in New Issue
Block a user