summaryrefslogtreecommitdiff
path: root/drivers/clk/bcm/clk-kona.h
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-04-16 22:43:48 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-04-17 16:03:55 +0300
commitaa7762010a4340a12a87a54b7a402adcdce8cfa9 (patch)
treea2126011ab39b8af6cd755be7285d6668f675536 /drivers/clk/bcm/clk-kona.h
parentf766093ecb647f5a87bfa456715abbbccee547ce (diff)
downloadlinux-aa7762010a4340a12a87a54b7a402adcdce8cfa9.tar.xz
clk: bcm/kona: use DIV_ROUND_CLOSEST_ULL()
Now that the kernel provides DIV_ROUND_CLOSEST_ULL(), drop the internal implementation and use the kernel one. Signed-off-by: Javi Merino <javi.merino@arm.com> Cc: Mike Turquette <mturquette@linaro.org> Cc: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Alex Elder <elder@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/clk/bcm/clk-kona.h')
-rw-r--r--drivers/clk/bcm/clk-kona.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/bcm/clk-kona.h b/drivers/clk/bcm/clk-kona.h
index 2537b3072910..6849a64baf6d 100644
--- a/drivers/clk/bcm/clk-kona.h
+++ b/drivers/clk/bcm/clk-kona.h
@@ -503,7 +503,6 @@ extern struct clk_ops kona_peri_clk_ops;
/* Externally visible functions */
-extern u64 do_div_round_closest(u64 dividend, unsigned long divisor);
extern u64 scaled_div_max(struct bcm_clk_div *div);
extern u64 scaled_div_build(struct bcm_clk_div *div, u32 div_value,
u32 billionths);