mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
drm/amd/display: Change parameters to fix certain compiler errors
[Why] String literals must be assigned to const char pointers. [How] By adding const keyword to fix compilation errors. Reviewed-by: Lohita Mudimela <lohita.mudimela@amd.com> Signed-off-by: Revalla Hari Krishna <Harikrishna.Revalla@amd.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
d3a450aef2
commit
90eacfb7ef
@@ -143,7 +143,7 @@ void generic_reg_wait(const struct dc_context *ctx,
|
||||
unsigned int delay_between_poll_us, unsigned int time_out_num_tries,
|
||||
const char *func_name, int line);
|
||||
|
||||
unsigned int snprintf_count(char *pBuf, unsigned int bufSize, char *fmt, ...);
|
||||
unsigned int snprintf_count(char *pBuf, unsigned int bufSize, const char *fmt, ...);
|
||||
|
||||
/* These macros need to be used with soc15 registers in order to retrieve
|
||||
* the actual offset.
|
||||
|
||||
Reference in New Issue
Block a user