Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afe2068d authored by Jean Delvare's avatar Jean Delvare Committed by Alex Deucher
Browse files

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: default avatarJean Delvare <jdelvare@suse.de>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 98c65108
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -351,7 +351,7 @@ static int radeon_atif_get_sbios_requests(acpi_handle handle,
 * 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;
+0 −3
Original line number Diff line number Diff line
@@ -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