summaryrefslogtreecommitdiff
path: root/sdm845
diff options
context:
space:
mode:
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));
/**