drm/radeon/radeon_pm: Move 'radeon_pm_acpi_event_handler' prototype into shared header
authorLee Jones <lee.jones@linaro.org>
Mon, 16 Nov 2020 17:29:32 +0000 (17:29 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2020 20:56:33 +0000 (15:56 -0500)
commitbb29f896d69fd2450aa25ceb28494371f63982b0
tree6145ef7367312939b1868f83af80c2ef33f8c614
parenta9f9851f49d83814790686dcd57887ee1dba5cef
drm/radeon/radeon_pm: Move 'radeon_pm_acpi_event_handler' prototype into shared header

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

 drivers/gpu/drm/radeon/radeon_pm.c:74:6: warning: no previous prototype for ‘radeon_pm_acpi_event_handler’ [-Wmissing-prototypes]
 74 | void radeon_pm_acpi_event_handler(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: 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>
drivers/gpu/drm/radeon/radeon_acpi.c
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/radeon_pm.h [new file with mode: 0644]