diff options
author | Elaine Zhang <zhangqing@rock-chips.com> | 2021-05-11 17:07:26 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-05-11 12:22:29 +0200 |
commit | 23029150a05b59ebacca6dd76f6c14dc67a95877 (patch) | |
tree | c05f52c3c47c6ab6821b3c7a3c1f656853dc7287 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) |
clk: rockchip: Optimize PLL table memory usage
Before the change: The sizeof rk3568_pll_rates = 2544
Use union: The sizeof rk3568_pll_rates = 1696
In future Soc, more PLL types will be added, and the
rockchip_pll_rate_table will add more members,
and the space savings will be even more pronounced
by using union.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Link: https://lore.kernel.org/r/20210511090726.15146-1-zhangqing@rock-chips.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions