ARC: HSDK: CGU: Use plat data instead of priv data
Correctly allocate hsdk_cgu_clk private data structure using priv_auto_alloc_size instead of platdata_auto_alloc_size. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
parent
075cbae163
commit
f6d7812d8d
@ -716,6 +716,6 @@ U_BOOT_DRIVER(hsdk_cgu_clk) = {
|
||||
.id = UCLASS_CLK,
|
||||
.of_match = hsdk_cgu_clk_id,
|
||||
.probe = hsdk_cgu_clk_probe,
|
||||
.platdata_auto_alloc_size = sizeof(struct hsdk_cgu_clk),
|
||||
.priv_auto_alloc_size = sizeof(struct hsdk_cgu_clk),
|
||||
.ops = &hsdk_cgu_ops,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user