summaryrefslogtreecommitdiffstats
path: root/src/drivers/intel/mipi_camera/chip.h
diff options
context:
space:
mode:
authorSugnan Prabhu S <sugnan.prabhu.s@intel.com>2021-06-16 14:43:11 +0530
committerWerner Zeh <werner.zeh@siemens.com>2021-06-18 04:35:47 +0000
commit9418e33aef0b5d3209ba3cb6147908dde5846e06 (patch)
treee1f553498459385470e500a23ab68071f526fbb2 /src/drivers/intel/mipi_camera/chip.h
parentf6d46f3bac00e0f67091de012c8edb8dc41d0a8e (diff)
downloadcoreboot-9418e33aef0b5d3209ba3cb6147908dde5846e06.tar.gz
coreboot-9418e33aef0b5d3209ba3cb6147908dde5846e06.tar.bz2
coreboot-9418e33aef0b5d3209ba3cb6147908dde5846e06.zip
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 <sugnan.prabhu.s@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55566 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Varshit B Pandya <varshit.b.pandya@intel.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/intel/mipi_camera/chip.h')
-rw-r--r--src/drivers/intel/mipi_camera/chip.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/drivers/intel/mipi_camera/chip.h b/src/drivers/intel/mipi_camera/chip.h
index 35a90bd67c04..7244efc32143 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 */