From 9418e33aef0b5d3209ba3cb6147908dde5846e06 Mon Sep 17 00:00:00 2001 From: Sugnan Prabhu S Date: Wed, 16 Jun 2021 14:43:11 +0530 Subject: [PATCH] drivers/intel/mipi_camera: Remove unnecessary __packed attribute This patch removes unnecessary __packed attribute from the structure defined in chip.h BUG=None TEST=Tested WFC camera on Brya Change-Id: I1174606cd22cd353f01d865d0c25bb6f8f8de055 Signed-off-by: Sugnan Prabhu S Reviewed-on: https://review.coreboot.org/c/coreboot/+/55566 Reviewed-by: Angel Pons Reviewed-by: Varshit B Pandya Reviewed-by: Tim Wawrzynczak Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/drivers/intel/mipi_camera/chip.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/drivers/intel/mipi_camera/chip.h b/src/drivers/intel/mipi_camera/chip.h index 35a90bd67c..7244efc321 100644 --- a/src/drivers/intel/mipi_camera/chip.h +++ b/src/drivers/intel/mipi_camera/chip.h @@ -114,31 +114,31 @@ struct clk_config { uint8_t clknum; /* frequency setting: 0:24Mhz, 1:19.2 Mhz */ uint8_t freq; -} __packed; +}; struct gpio_config { uint8_t gpio_num; -} __packed; +}; struct clock_ctrl_panel { struct clk_config clks[MAX_CLK_CONFIGS]; -} __packed; +}; struct gpio_ctrl_panel { struct gpio_config gpio[MAX_GPIO_CONFIGS]; -} __packed; +}; struct operation_type { enum ctrl_type type; uint8_t index; enum action_type action; uint32_t delay_ms; -} __packed; +}; struct operation_seq { struct operation_type ops[MAX_PWR_OPS]; uint8_t ops_cnt; -} __packed; +}; struct intel_ssdb { uint8_t version; /* Current version */