summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/clk-7xx.c
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-17 15:35:23 +0800
committerStephen Boyd <sboyd@kernel.org>2020-05-26 20:24:21 -0700
commitc5bd76d93e72be90b4682979b2236f56b567885d (patch)
tree7e8599aabef0ced655b5b9b4094f4593c3c69037 /drivers/clk/ti/clk-7xx.c
parent4f74251df0ceb3b9fbddf8b5c6aef31c0092b617 (diff)
downloadlinux-stable-c5bd76d93e72be90b4682979b2236f56b567885d.tar.gz
linux-stable-c5bd76d93e72be90b4682979b2236f56b567885d.tar.bz2
linux-stable-c5bd76d93e72be90b4682979b2236f56b567885d.zip
clk: ti: dra7: remove two unused symbols
Fix the following gcc warning: drivers/clk/ti/clk-7xx.c:320:43: warning: ‘dra7_gpu_sys_clk_data’ defined but not used [-Wunused-const-variable=] static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data __initconst = { ^~~~~~~~~~~~~~~~~~~~~ drivers/clk/ti/clk-7xx.c:315:27: warning: ‘dra7_gpu_sys_clk_parents’ defined but not used [-Wunused-const-variable=] static const char * const dra7_gpu_sys_clk_parents[] __initconst = { ^~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Link: https://lkml.kernel.org/r/20200417073523.42520-1-yanaijie@huawei.com Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/ti/clk-7xx.c')
-rw-r--r--drivers/clk/ti/clk-7xx.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/clk/ti/clk-7xx.c b/drivers/clk/ti/clk-7xx.c
index bf8fced40e42..b4cf578a69e1 100644
--- a/drivers/clk/ti/clk-7xx.c
+++ b/drivers/clk/ti/clk-7xx.c
@@ -312,15 +312,6 @@ static const char * const dra7_gpu_hyd_mux_parents[] __initconst = {
NULL,
};
-static const char * const dra7_gpu_sys_clk_parents[] __initconst = {
- "sys_clkin",
- NULL,
-};
-
-static const struct omap_clkctrl_div_data dra7_gpu_sys_clk_data __initconst = {
- .max_div = 2,
-};
-
static const struct omap_clkctrl_bit_data dra7_gpu_core_bit_data[] __initconst = {
{ 24, TI_CLK_MUX, dra7_gpu_core_mux_parents, NULL, },
{ 26, TI_CLK_MUX, dra7_gpu_hyd_mux_parents, NULL, },