summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-06-24 16:50:40 +0300
committerStefano Babic <sbabic@denx.de>2019-07-19 15:50:30 +0300
commit36bac0a193d4cf37ca9c482567bc72012c1299b5 (patch)
treeda549a108412bdd11158f3d08ccd5c4064ca3519 /include/linux
parenta8592cdd5150ad3766db9e2d738db53a4422bc4e (diff)
downloadu-boot-36bac0a193d4cf37ca9c482567bc72012c1299b5.tar.xz
clk: Provide struct clk for fixed rate clock (clk_fixed_rate.c)
Up till now the fixed rate clock ('osc') has been added to UCLASS_CLK without declaring struct clk. As a result it was only accessible by iterating the udevice's uclass list. This is a problem for clock code, which operates on pointers to struct clk (like clk_get_rate()), not udevices. After this change struct clk is accessible from udevice and udevice from struct clk. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions