diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-12-28 18:49:16 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2021-01-05 18:00:09 +0100 |
commit | 281462e593483350d8072a118c6e072c550a80fa (patch) | |
tree | aedb622d4b8e73213c869eae85999fe03cced566 /drivers/clk/tegra/Makefile | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) | |
download | lwn-281462e593483350d8072a118c6e072c550a80fa.tar.gz lwn-281462e593483350d8072a118c6e072c550a80fa.zip |
memory: tegra124-emc: Make driver modular
Add modularization support to the Tegra124 EMC driver, which now can be
compiled as a loadable kernel module.
Note that EMC clock must be registered at clk-init time, otherwise PLLM
will be disabled as unused clock at boot time if EMC driver is compiled
as a module. Hence add a prepare/complete callbacks. similarly to what is
done for the Tegra20/30 EMC drivers.
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20201228154920.18846-2-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/clk/tegra/Makefile')
-rw-r--r-- | drivers/clk/tegra/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/Makefile b/drivers/clk/tegra/Makefile index eec2313fd37e..7b1816856eb5 100644 --- a/drivers/clk/tegra/Makefile +++ b/drivers/clk/tegra/Makefile @@ -22,7 +22,7 @@ obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += clk-tegra20-emc.o obj-$(CONFIG_ARCH_TEGRA_114_SOC) += clk-tegra114.o obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124.o obj-$(CONFIG_TEGRA_CLK_DFLL) += clk-tegra124-dfll-fcpu.o -obj-$(CONFIG_TEGRA124_EMC) += clk-tegra124-emc.o +obj-$(CONFIG_TEGRA124_CLK_EMC) += clk-tegra124-emc.o obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124.o obj-y += cvb.o obj-$(CONFIG_ARCH_TEGRA_210_SOC) += clk-tegra210.o |