clk: at91: audio-pll: fix audio pmc type
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Oct 2018 14:21:39 +0000 (16:21 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 17 Oct 2018 16:39:19 +0000 (09:39 -0700)
commit7fa75007b7d7421aea59ff2b12ab1bd65a5abfa6
treeeb8d5713d1af9d982e3ae64f389146c202e703cf
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
clk: at91: audio-pll: fix audio pmc type

The allocation for the audio pmc is using the size of struct clk_audio_pad
instead of struct clk_audio_pmc. This works fine because the former is
larger than the latter but it is safer to be correct.

Fixes: ("0865805d82d4 clk: at91: add audio pll clock drivers")
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/clk-audio-pll.c