From: Eugeniy Paltsev Date: Tue, 16 Jan 2018 17:44:26 +0000 (+0300) Subject: ARC: HSDK: CGU: Use plat data instead of priv data X-Git-Tag: v2018.03-rc1~119^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6d7812d8d9ca2b0b04d2825b820160e8bdd79c8;p=u-boot 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 Signed-off-by: Alexey Brodkin --- diff --git a/drivers/clk/clk-hsdk-cgu.c b/drivers/clk/clk-hsdk-cgu.c index d9da477f4e..64bb1db821 100644 --- a/drivers/clk/clk-hsdk-cgu.c +++ b/drivers/clk/clk-hsdk-cgu.c @@ -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, };