diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2019-11-26 01:35:14 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-26 20:51:04 +0100 |
commit | edac2525ae9efe79572c0bbbd38d5d67a1bca23b (patch) | |
tree | 31b5f2ef33e8d0d48047bc92dd067fcd80092113 /drivers/gpu/drm/radeon/radeon_audio.c | |
parent | drm/amdgpu: Fix a bug in jpeg_v1_0_start() (diff) | |
download | linux-edac2525ae9efe79572c0bbbd38d5d67a1bca23b.tar.xz linux-edac2525ae9efe79572c0bbbd38d5d67a1bca23b.zip |
drm: radeon: replace 0 with NULL
Replace 0 with NULL to fix sparse tool warning
warning: Using plain integer as NULL pointer
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_audio.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_audio.c b/drivers/gpu/drm/radeon/radeon_audio.c index 72db2b41e96d..8c63ccb8b623 100644 --- a/drivers/gpu/drm/radeon/radeon_audio.c +++ b/drivers/gpu/drm/radeon/radeon_audio.c @@ -288,7 +288,7 @@ static void radeon_audio_interface_init(struct radeon_device *rdev) } else { rdev->audio.funcs = &r600_funcs; rdev->audio.hdmi_funcs = &r600_hdmi_funcs; - rdev->audio.dp_funcs = 0; + rdev->audio.dp_funcs = NULL; } } |