summaryrefslogtreecommitdiff
path: root/drivers/clk/berlin/berlin2-pll.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-05-01 22:24:44 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-05-15 03:11:21 +0300
commit47c18e4cd99463241fb8dfd9ac37a59cc4b65c82 (patch)
treeccb1e63d0b78cdd1d797c957f25999a679102622 /drivers/clk/berlin/berlin2-pll.c
parent7926b3f8c62628f51a85bbc5fd806087d3fdfbac (diff)
downloadlinux-47c18e4cd99463241fb8dfd9ac37a59cc4b65c82.tar.xz
clk: berlin: Silence sparse warning
drivers/clk/berlin/berlin2-pll.c:94:12: warning: symbol 'berlin2_pll_register' was not declared. Should it be static? Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/berlin/berlin2-pll.c')
-rw-r--r--drivers/clk/berlin/berlin2-pll.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/clk/berlin/berlin2-pll.c b/drivers/clk/berlin/berlin2-pll.c
index bdc506b03824..f4b8d324b083 100644
--- a/drivers/clk/berlin/berlin2-pll.c
+++ b/drivers/clk/berlin/berlin2-pll.c
@@ -25,14 +25,7 @@
#include <asm/div64.h>
#include "berlin2-div.h"
-
-struct berlin2_pll_map {
- const u8 vcodiv[16];
- u8 mult;
- u8 fbdiv_shift;
- u8 rfdiv_shift;
- u8 divsel_shift;
-};
+#include "berlin2-pll.h"
struct berlin2_pll {
struct clk_hw hw;