diff options
| author | Alex Deucher <[email protected]> | 2020-10-06 13:20:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-07 21:04:27 +0000 |
| commit | dcba603f82ed261c3db33cf9e7c639116a6e84ae (patch) | |
| tree | 3dac3b54c7b2ce18dbb505ce42bf32490e7ccb62 /drivers/gpu/drm/amd/display/modules/power/power_helpers.h | |
| parent | drm/amdgpu: fix NULL pointer dereference for Renoir (diff) | |
| download | kernel-dcba603f82ed261c3db33cf9e7c639116a6e84ae.tar.gz kernel-dcba603f82ed261c3db33cf9e7c639116a6e84ae.zip | |
drm/amdgpu/swsmu: fix ARC build errors
We want to use the dev_* functions here rather than the pr_* variants.
Switch to using dev_warn() which mirrors what we do on other asics.
Fixes the following build errors on ARC:
../drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c: In function 'navi10_fill_i2c_req':
../arch/arc/include/asm/bug.h:24:2: error: implicit declaration of function 'pr_warn'; did you mean 'drm_warn'? [-Werror=implicit-function-declaration]
../drivers/gpu/drm/amd/amdgpu/../powerplay/sienna_cichlid_ppt.c: In function 'sienna_cichlid_fill_i2c_req':
../arch/arc/include/asm/bug.h:24:2: error: implicit declaration of function 'pr_warn'; did you mean 'drm_warn'? [-Werror=implicit-function-declaration]
Reported-by: kernel test robot <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Evan Quan <[email protected]>
Cc: Vineet Gupta <[email protected]>
Cc: [email protected]
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.h')
0 files changed, 0 insertions, 0 deletions
