mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
drm/radeon: Make radeon_atif_handler static
There are no external users of function radeon_atif_handler so it can be static. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
98c65108c5
commit
afe2068dfd
@ -351,7 +351,7 @@ out:
|
||||
* handles it.
|
||||
* Returns NOTIFY code
|
||||
*/
|
||||
int radeon_atif_handler(struct radeon_device *rdev,
|
||||
static int radeon_atif_handler(struct radeon_device *rdev,
|
||||
struct acpi_bus_event *event)
|
||||
{
|
||||
struct radeon_atif *atif = &rdev->atif;
|
||||
|
@ -27,9 +27,6 @@
|
||||
struct radeon_device;
|
||||
struct acpi_bus_event;
|
||||
|
||||
int radeon_atif_handler(struct radeon_device *rdev,
|
||||
struct acpi_bus_event *event);
|
||||
|
||||
/* AMD hw uses four ACPI control methods:
|
||||
* 1. ATIF
|
||||
* ARG0: (ACPI_INTEGER) function code
|
||||
|
Loading…
Reference in New Issue
Block a user