aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2020-07-23 09:26:03 +0200
committerStephen Boyd <[email protected]>2020-07-23 15:34:21 -0700
commit3bca66b08ec833c4506e97371f2c74e7de00792a (patch)
treea4f64ffa0e51d452280e67f55cdaf8dfcf087966 /lib/test_overflow.c
parent45c940184b501fc65592432a269b7a34cf2237b6 (diff)
clk: vc5: use a dedicated struct to describe the output drivers
Reusing the generic struct vc5_hw_data for all blocks is handy. However it implies we allocate space the div_int and div_frc fields even for the output drivers where they are unused, and the clk_output_cfg0 and clk_output_cfg0_mask fields for all components even though they are used only for the output drivers. Use a dedicated struct for the output drivers so that each block uses exactly the fields it needs, not more. Signed-off-by: Luca Ceresoli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions