提交 7a67f455 编写于 作者: R Rex Zhu 提交者: Alex Deucher

drm/amd/pp: Mark internal functions as static in rv_smumgr.c

Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 88c1a70d
...@@ -60,7 +60,7 @@ static uint32_t rv_wait_for_response(struct pp_hwmgr *hwmgr) ...@@ -60,7 +60,7 @@ static uint32_t rv_wait_for_response(struct pp_hwmgr *hwmgr)
return cgs_read_register(hwmgr->device, reg); return cgs_read_register(hwmgr->device, reg);
} }
int rv_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr, static int rv_send_msg_to_smc_without_waiting(struct pp_hwmgr *hwmgr,
uint16_t msg) uint16_t msg)
{ {
uint32_t reg; uint32_t reg;
...@@ -82,7 +82,7 @@ static int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr) ...@@ -82,7 +82,7 @@ static int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr)
return cgs_read_register(hwmgr->device, reg); return cgs_read_register(hwmgr->device, reg);
} }
int rv_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) static int rv_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg)
{ {
uint32_t reg; uint32_t reg;
...@@ -101,7 +101,7 @@ int rv_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg) ...@@ -101,7 +101,7 @@ int rv_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg)
} }
int rv_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr, static int rv_send_msg_to_smc_with_parameter(struct pp_hwmgr *hwmgr,
uint16_t msg, uint32_t parameter) uint16_t msg, uint32_t parameter)
{ {
uint32_t reg; uint32_t reg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册