Skip to content

Commit 3dcbd36

Browse files
committed
clk: tegra: Rename Tegra124 EMC clock source file
This code is only used on Tegra124, so rename it accordingly to make it more consistent with other file names. While at it, also get rid of the TEGRA_CLK_EMC Kconfig symbol that's really just an alias for TEGRA124_EMC. Signed-off-by: Thierry Reding <[email protected]>
1 parent 7967175 commit 3dcbd36

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

drivers/clk/tegra/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
config TEGRA_CLK_EMC
3-
def_bool y
4-
depends on TEGRA124_EMC
5-
62
config CLK_TEGRA_BPMP
73
def_bool y
84
depends on TEGRA_BPMP

drivers/clk/tegra/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ obj-y += clk-tegra-audio.o
1414
obj-y += clk-tegra-periph.o
1515
obj-y += clk-tegra-fixed.o
1616
obj-y += clk-tegra-super-gen4.o
17-
obj-$(CONFIG_TEGRA_CLK_EMC) += clk-emc.o
1817
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20.o
1918
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += clk-tegra20-emc.o
2019
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra30.o
2120
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra20-emc.o
2221
obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o
2322
obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124.o
2423
obj-$(CONFIG_TEGRA_CLK_DFLL) += clk-tegra124-dfll-fcpu.o
24+
obj-$(CONFIG_TEGRA124_EMC) += clk-tegra124-emc.o
2525
obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124.o
2626
obj-y += cvb.o
2727
obj-$(CONFIG_ARCH_TEGRA_210_SOC) += clk-tegra210.o
File renamed without changes.

drivers/clk/tegra/clk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ void tegra_super_clk_gen5_init(void __iomem *clk_base,
866866
void __iomem *pmc_base, struct tegra_clk *tegra_clks,
867867
struct tegra_clk_pll_params *pll_params);
868868

869-
#ifdef CONFIG_TEGRA_CLK_EMC
869+
#ifdef CONFIG_TEGRA124_EMC
870870
struct clk *tegra_clk_register_emc(void __iomem *base, struct device_node *np,
871871
spinlock_t *lock);
872872
#else

0 commit comments

Comments
 (0)