Tegra194: SiP: Fix Rule 8.4 and Rule 10.4 violation
Rule 8.4, A compatible declaration shall be visible when an object or function with external linkage is defined. Add function delaration to the header file. Add suffix U to the unsigned constant define. Change-Id: I54eba913a5fa38e4fdf3655931dc421d9510c691 Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
This commit is contained in:
parent
08c085dc2e
commit
159baa4802
|
@ -50,6 +50,9 @@ uint64_t nvg_get_cstate_stat_query_value(void);
|
|||
int32_t nvg_is_sc7_allowed(void);
|
||||
int32_t nvg_online_core(uint32_t core);
|
||||
int32_t nvg_update_ccplex_gsc(uint32_t gsc_idx);
|
||||
int32_t nvg_roc_clean_cache(void);
|
||||
int32_t nvg_roc_flush_cache(void);
|
||||
int32_t nvg_roc_clean_cache_trbits(void);
|
||||
int32_t nvg_enter_cstate(uint32_t state, uint32_t wake_time);
|
||||
|
||||
void nvg_set_request_data(uint64_t req, uint64_t data);
|
||||
|
|
|
@ -23,7 +23,7 @@ extern bool tegra_fake_system_suspend;
|
|||
/*******************************************************************************
|
||||
* Tegra186 SiP SMCs
|
||||
******************************************************************************/
|
||||
#define TEGRA_SIP_ENABLE_FAKE_SYSTEM_SUSPEND 0xC2FFFE03
|
||||
#define TEGRA_SIP_ENABLE_FAKE_SYSTEM_SUSPEND 0xC2FFFE03U
|
||||
|
||||
/*******************************************************************************
|
||||
* This function is responsible for handling all T186 SiP calls
|
||||
|
|
Loading…
Reference in New Issue