Skip to content

Commit fc4fbf8

Browse files
digetxkrzk
authored andcommitted
soc/tegra: fuse: Export tegra_read_ram_code()
The tegra_read_ram_code() is used by EMC drivers and we're going to make these driver modular, hence this function needs 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-3-digetx@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 4cfdad3 commit fc4fbf8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/soc/tegra/fuse/tegra-apbmisc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
44
*/
55

6+
#include <linux/export.h>
67
#include <linux/kernel.h>
78
#include <linux/of.h>
89
#include <linux/of_address.h>
@@ -90,6 +91,7 @@ u32 tegra_read_ram_code(void)
9091

9192
return straps >> PMC_STRAPPING_OPT_A_RAM_CODE_SHIFT;
9293
}
94+
EXPORT_SYMBOL_GPL(tegra_read_ram_code);
9395

9496
static const struct of_device_id apbmisc_match[] __initconst = {
9597
{ .compatible = "nvidia,tegra20-apbmisc", },

0 commit comments

Comments
 (0)