From 66d57599b1d0ee6b25b08a69c298dfe0e3c7b920 Mon Sep 17 00:00:00 2001 From: Vedashree Vidwans Date: Tue, 27 Sep 2022 05:03:45 -0700 Subject: [PATCH] tegra: hwpm: export IP register API's export IP register API's so that it can be called from loadable kernel modules. Bug 3689682 Change-Id: Ic099cec4ca70ce87e9ed4bfedb207d1f6b5fcc71 Signed-off-by: Vedashree Vidwans (cherry picked from commit I46805401ad9d765793a756e69b96c1d04f7c86c4) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2767127 Reviewed-by: Sachin Nikam Reviewed-by: svcacv Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-cert Reviewed-by: Puneet Saxena Reviewed-by: Bitan Biswas Reviewed-by: Krishna Yarlagadda Tested-by: Puneet Saxena GVS: Gerrit_Virtual_Submit --- os/linux/ip_utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/linux/ip_utils.c b/os/linux/ip_utils.c index cf1e86f..e822e52 100644 --- a/os/linux/ip_utils.c +++ b/os/linux/ip_utils.c @@ -358,6 +358,7 @@ void tegra_soc_hwpm_ip_register(struct tegra_soc_hwpm_ip_ops *hwpm_ip_ops) } } } +EXPORT_SYMBOL(tegra_soc_hwpm_ip_register); void tegra_soc_hwpm_ip_unregister(struct tegra_soc_hwpm_ip_ops *hwpm_ip_ops) { @@ -389,6 +390,7 @@ void tegra_soc_hwpm_ip_unregister(struct tegra_soc_hwpm_ip_ops *hwpm_ip_ops) } } } +EXPORT_SYMBOL(tegra_soc_hwpm_ip_unregister); void tegra_hwpm_release_ip_register_node(struct tegra_soc_hwpm *hwpm) {