mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-03 20:34:58 +08:00
media: ccs-pll: Move the flags field down, away from 8-bit fields
This way the struct will use less memory, with better packing and no waste due to unsigned long. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
47b6eaf36e
commit
d6a88e446c
@ -40,12 +40,12 @@ struct ccs_pll {
|
||||
struct {
|
||||
uint8_t lanes;
|
||||
} csi2;
|
||||
unsigned long flags;
|
||||
uint8_t binning_horizontal;
|
||||
uint8_t binning_vertical;
|
||||
uint8_t scale_m;
|
||||
uint8_t scale_n;
|
||||
uint8_t bits_per_pixel;
|
||||
uint16_t flags;
|
||||
uint32_t link_freq;
|
||||
uint32_t ext_clk_freq_hz;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user