OSDN Git Service

drm/radeon/rv770: Move 'rv770_set_clk_bypass_mode' prototype to shared location
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:29:31 +0000 (17:29 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 20:56:33 +0000 (15:56 -0500)
commita9f9851f49d83814790686dcd57887ee1dba5cef
tree1e893b67f31050ebebf749dce34dca4af78c0c90
parentd9353b38f47a676c088fd07890305864b8d70c7c
drm/radeon/rv770: Move 'rv770_set_clk_bypass_mode' prototype to shared location

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/radeon/rv770.c:1138:6: warning: no previous prototype for ‘rv770_set_clk_bypass_mode’ [-Wmissing-prototypes]
 1138 | void rv770_set_clk_bypass_mode(struct radeon_device *rdev)
 | ^~~~~~~~~~~~~~~~~~~~~~~~~

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: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/rv770.c
drivers/gpu/drm/radeon/rv770.h [new file with mode: 0644]