]> git.baikalelectronics.ru Git - uboot.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)
commit2b28e9f08fb0d65929417b54bc79f4c9faa63d1c
treead8d15fd1470471b4932570afa36bf5861acf883
parent8d50ab2bcc6c67f48decb7d0345e9d3e0d821421
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