mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 02:24:18 +00:00
fix(xilinx): resolve misra rule 8.3 violations
Fixed below MISRA violation: - MISRA Violation: MISRA-C:2012 R.8.3: - All declarations of an object or function shall use the same names and type qualifiers. - Fix: - Made same name parameters and type qualifiers in function declaration and definition. Change-Id: Idb4f986cec957102bb4ba1ef22f2e7937aaeb54d Signed-off-by: Devanshi Chauhan Alpeshbhai <devanshi.chauhanalpeshbhai@amd.com>
This commit is contained in:
parent
a5d5cb3cfc
commit
3df32f8524
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2019-2022, Xilinx, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2024, Advanced Micro Devices, Inc. All rights reserved.
|
||||
* Copyright (c) 2022-2025, Advanced Micro Devices, Inc. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -36,7 +36,7 @@ enum pm_ret_status pm_req_suspend(uint32_t target,
|
|||
uint32_t state, uint32_t flag);
|
||||
enum pm_ret_status pm_req_wakeup(uint32_t target, uint32_t set_address,
|
||||
uintptr_t address, uint8_t ack, uint32_t flag);
|
||||
enum pm_ret_status pm_set_wakeup_source(uint32_t target, uint32_t device_id,
|
||||
enum pm_ret_status pm_set_wakeup_source(uint32_t target, uint32_t wkup_device,
|
||||
uint8_t enable, uint32_t flag);
|
||||
enum pm_ret_status pm_get_callbackdata(uint32_t *data, size_t count, uint32_t flag,
|
||||
uint32_t ack);
|
||||
|
|
|
@ -316,7 +316,7 @@ static const struct plat_psci_ops versal_nopmc_psci_ops = {
|
|||
/*******************************************************************************
|
||||
* Export the platform specific power ops.
|
||||
******************************************************************************/
|
||||
int32_t plat_setup_psci_ops(uintptr_t sec_entrypoint,
|
||||
int plat_setup_psci_ops(uintptr_t sec_entrypoint,
|
||||
const struct plat_psci_ops **psci_ops)
|
||||
{
|
||||
versal_sec_entry = sec_entrypoint;
|
||||
|
|
Loading…
Add table
Reference in a new issue