Skip to content

Commit 1e8ce92

Browse files
bijudasbebarino
authored andcommitted
clk: versaclock3: Avoid unnecessary padding
Move long/pointer variables at the beginning of struct to avoid unnecessary padding. Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent eb16ddb commit 1e8ce92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/clk/clk-versaclock3.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,16 +148,16 @@ struct vc3_pfd_data {
148148
};
149149

150150
struct vc3_pll_data {
151+
unsigned long vco_min;
152+
unsigned long vco_max;
151153
u8 num;
152154
u8 int_div_msb_offs;
153155
u8 int_div_lsb_offs;
154-
unsigned long vco_min;
155-
unsigned long vco_max;
156156
};
157157

158158
struct vc3_div_data {
159-
u8 offs;
160159
const struct clk_div_table *table;
160+
u8 offs;
161161
u8 shift;
162162
u8 width;
163163
u8 flags;

0 commit comments

Comments
 (0)