From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 17 Mar 2021 01:28:41 +0000 Subject: [PATCH v4 13/42] clk: fixed-rate: Export driver parts for OF_PLATDATA_INST In-Reply-To: <20210315172537.v4.13.Id4c4185305022bf3c445057277943538de1a7e0a@changeid> References: <20210315172537.v4.13.Id4c4185305022bf3c445057277943538de1a7e0a@changeid> <20210315042553.1932494-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- (no changes since v1) drivers/clk/clk_fixed_rate.c | 14 ++++++++++---- include/linux/clk-provider.h | 5 +++++ 2 files changed, 15 insertions(+), 4 deletions(-) Applied to u-boot-dm/next, thanks!