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 <vvidwans@nvidia.com>
(cherry picked from commit I46805401ad9d765793a756e69b96c1d04f7c86c4)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2767127
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Tested-by: Puneet Saxena <puneets@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Vedashree Vidwans
2022-09-27 05:03:45 -07:00
committed by mobile promotions
parent 705bd5ac75
commit 66d57599b1

View File

@@ -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)
{