]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: fixed-rate: Export driver parts for OF_PLATDATA_INST
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:23 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:08 +0000 (17:03 +1300)
commit4ddc91b32f9fc2292686dffe0159e2679362f78b
treead8d15fd1470471b4932570afa36bf5861acf883
parentcc7ffd3adc2e30cdd4b7154ecc7bd505ec258366
clk: fixed-rate: Export driver parts for OF_PLATDATA_INST

We need to allow SoCs to create their own drivers for this so that they
can use their own of-platdata structs. To minimise code duplication,
export the driver operations and the ofdata_to_plat() setup function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/clk/clk_fixed_rate.c
include/linux/clk-provider.h