mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
dm: clk: add missing .priv_auto_alloc_size() for stm32f7
Add missing .priv_auto_alloc_size() callback. Previously private struct stm32_clk was not allocate which leads to unpredictable behaviour Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
df518f804f
commit
0cc40dfc66
1 changed files with 7 additions and 6 deletions
|
@ -315,5 +315,6 @@ U_BOOT_DRIVER(stm32f7_clk) = {
|
|||
.of_match = stm32_clk_ids,
|
||||
.ops = &stm32_clk_ops,
|
||||
.probe = stm32_clk_probe,
|
||||
.priv_auto_alloc_size = sizeof(struct stm32_clk),
|
||||
.flags = DM_FLAG_PRE_RELOC,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue