projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb16ddb
)
clk: versaclock3: Avoid unnecessary padding
author
Biju Das
<biju.das.jz@bp.renesas.com>
Wed, 22 Nov 2023 14:23:07 +0000
(14:23 +0000)
committer
Stephen Boyd
<sboyd@kernel.org>
Sun, 17 Dec 2023 23:56:14 +0000
(15:56 -0800)
Move long/pointer variables at the beginning of struct to avoid
unnecessary padding.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link:
https://lore.kernel.org/r/20231122142310.203169-3-biju.das.jz@bp.renesas.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-versaclock3.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-versaclock3.c
b/drivers/clk/clk-versaclock3.c
index 3aad69a08512d0aa52e08b6abeb0c541873320ea..058efffd4e01e314c5fdccf288a7320b58dd9864 100644
(file)
--- a/
drivers/clk/clk-versaclock3.c
+++ b/
drivers/clk/clk-versaclock3.c
@@
-148,16
+148,16
@@
struct vc3_pfd_data {
};
struct vc3_pll_data {
+ unsigned long vco_min;
+ unsigned long vco_max;
u8 num;
u8 int_div_msb_offs;
u8 int_div_lsb_offs;
- unsigned long vco_min;
- unsigned long vco_max;
};
struct vc3_div_data {
- u8 offs;
const struct clk_div_table *table;
+ u8 offs;
u8 shift;
u8 width;
u8 flags;