Skip to content

Commit 4cfdad3

Browse files
digetxkrzk
authored andcommitted
clk: tegra: Export Tegra20 EMC kernel symbols
We're going to modularize Tegra EMC drivers and some of the EMC-clock driver symbols need to be exported. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20201104164923.21238-2-digetx@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 3650b22 commit 4cfdad3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/clk/tegra/clk-tegra20-emc.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <linux/clk-provider.h>
1414
#include <linux/clk/tegra.h>
1515
#include <linux/err.h>
16+
#include <linux/export.h>
1617
#include <linux/io.h>
1718
#include <linux/kernel.h>
1819
#include <linux/slab.h>
@@ -235,6 +236,7 @@ void tegra20_clk_set_emc_round_callback(tegra20_clk_emc_round_cb *round_cb,
235236
emc->cb_arg = cb_arg;
236237
}
237238
}
239+
EXPORT_SYMBOL_GPL(tegra20_clk_set_emc_round_callback);
238240

239241
bool tegra20_clk_emc_driver_available(struct clk_hw *emc_hw)
240242
{
@@ -291,3 +293,4 @@ int tegra20_clk_prepare_emc_mc_same_freq(struct clk *emc_clk, bool same)
291293

292294
return 0;
293295
}
296+
EXPORT_SYMBOL_GPL(tegra20_clk_prepare_emc_mc_same_freq);

0 commit comments

Comments
 (0)