Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[platform/kernel/linux-rpi.git] / drivers / clk / clk-fractional-divider.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _CLK_FRACTIONAL_DIV_H
3 #define _CLK_FRACTIONAL_DIV_H
4
5 struct clk_hw;
6
7 extern const struct clk_ops clk_fractional_divider_ops;
8
9 void clk_fractional_divider_general_approximation(struct clk_hw *hw,
10                                                   unsigned long rate,
11                                                   unsigned long *parent_rate,
12                                                   unsigned long *m,
13                                                   unsigned long *n);
14
15 #endif