summaryrefslogtreecommitdiff
path: root/sdm845
diff options
context:
space:
mode:
authorDonghui Han <donghuihan@google.com>2018-01-08 19:41:52 -0800
committerDonghui Han <donghuihan@google.com>2018-01-08 19:41:52 -0800
commit58452c6f2a347b331bd0a5201924f68499cba379 (patch)
tree0191002b41b236afdcab44a85542ed71c9372694 /sdm845
parentdd8e8afc1db52176846963d4073d5f007481351e (diff)
downloadbonito-58452c6f2a347b331bd0a5201924f68499cba379.tar.gz
Update kernel headers
Pick up kernel header changes from the change: 1006322 Bug: 71665288 Test: local Change-Id: I31177405339fe4b0bb920cc733a84f788d5e6ec9
Diffstat (limited to 'sdm845')
-rw-r--r--sdm845/kernel-headers/media/cam_sensor.h2
-rw-r--r--sdm845/original-kernel-headers/media/cam_sensor.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/sdm845/kernel-headers/media/cam_sensor.h b/sdm845/kernel-headers/media/cam_sensor.h
index 095934ec..d996584e 100644
--- a/sdm845/kernel-headers/media/cam_sensor.h
+++ b/sdm845/kernel-headers/media/cam_sensor.h
@@ -70,11 +70,11 @@ struct cam_ois_opcode {
struct cam_cmd_ois_info {
uint16_t slave_addr;
uint8_t i2c_freq_mode;
+ uint8_t cmd_type;
uint8_t ois_fw_flag;
uint8_t is_ois_calib;
char ois_name[MAX_OIS_NAME_SIZE];
struct cam_ois_opcode opcode;
- uint8_t cmd_type;
} __attribute__((packed));
struct cam_cmd_probe {
uint8_t data_type;
diff --git a/sdm845/original-kernel-headers/media/cam_sensor.h b/sdm845/original-kernel-headers/media/cam_sensor.h
index 87f25b09..f5af6047 100644
--- a/sdm845/original-kernel-headers/media/cam_sensor.h
+++ b/sdm845/original-kernel-headers/media/cam_sensor.h
@@ -119,20 +119,20 @@ struct cam_ois_opcode {
*
* @slave_addr : OIS i2c slave address
* @i2c_freq_mode : i2c frequency mode
+ * @cmd_type : Explains type of command
* @ois_fw_flag : indicates if fw is present or not
* @is_ois_calib : indicates the calibration data is available
* @ois_name : OIS name
* @opcode : opcode
- * @cmd_type : Explains type of command
*/
struct cam_cmd_ois_info {
uint16_t slave_addr;
uint8_t i2c_freq_mode;
+ uint8_t cmd_type;
uint8_t ois_fw_flag;
uint8_t is_ois_calib;
char ois_name[MAX_OIS_NAME_SIZE];
struct cam_ois_opcode opcode;
- uint8_t cmd_type;
} __attribute__((packed));
/**