mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
using this patch fixing below cert & misra errors:- - cert_dcl37_c_violation: The reserved identifier "_TEGRA_HV_PM_CTL_H", which is reserved for use as identifiers with file scope in both the ordinary and tag name spaces, is defined. - misra_c_2012_rule_21_1_violation: Defining or undefining a reserved name "_TEGRA_HV_PM_CTL_H", which is an identifier or macro name beginning with an underscore. - misra_c_2012_rule_21_2_violation: "_TEGRA_HV_PM_CTL_H", an identifier or macro name beginning with an underscore, shall not be declared. JIRA ESLC-8381 Change-Id: Ib944855e143c34b3019f1f93ad9f6894ebf89085 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3301268 Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com> Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
16 lines
410 B
C
16 lines
410 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
*/
|
|
|
|
#ifndef TEGRA_HV_PM_CTL_H
|
|
#define TEGRA_HV_PM_CTL_H
|
|
|
|
extern int (*tegra_hv_pm_ctl_prepare_shutdown)(void);
|
|
|
|
int tegra_hv_pm_ctl_trigger_sys_suspend(void);
|
|
int tegra_hv_pm_ctl_trigger_sys_shutdown(void);
|
|
int tegra_hv_pm_ctl_trigger_sys_reboot(void);
|
|
|
|
#endif /* TEGRA_HV_PM_CTL_H */
|