summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-05-20 14:02:29 +0200
committerAlex Deucher <alexander.deucher@amd.com>2021-05-21 16:32:15 +0200
commit5ce27057604168a53ce47bd73c426e3a03b9a1ba (patch)
tree1598b01deab6ff0be02fd39c31674730451eaf35 /drivers/gpu/drm
parentdrm/amd/amdgpu/dce_v6_0: Repair function name of 'si_get_number_of_dram_chann... (diff)
downloadlinux-5ce27057604168a53ce47bd73c426e3a03b9a1ba.tar.xz
linux-5ce27057604168a53ce47bd73c426e3a03b9a1ba.zip
drm/radeon/cik: Fix incorrectly named function 'cik_irq_suspend()'
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/cik.c:7450: warning: expecting prototype for cik_irq_disable(). Prototype was for cik_irq_suspend() instead Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/radeon/cik.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
index 42a8afa839cb..73ea5189dfb1 100644
--- a/drivers/gpu/drm/radeon/cik.c
+++ b/drivers/gpu/drm/radeon/cik.c
@@ -7439,7 +7439,7 @@ static void cik_irq_disable(struct radeon_device *rdev)
}
/**
- * cik_irq_disable - disable interrupts for suspend
+ * cik_irq_suspend - disable interrupts for suspend
*
* @rdev: radeon_device pointer
*