* [PATCH] drm/radeon: Make radeon_atif_handler static
@ 2017-07-30 11:05 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2017-07-30 11:05 UTC (permalink / raw)
To: amd-gfx, dri-devel; +Cc: Alex Deucher, Christian König
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>
---
drivers/gpu/drm/radeon/radeon_acpi.c | 2 +-
drivers/gpu/drm/radeon/radeon_acpi.h | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
--- linux-4.12.orig/drivers/gpu/drm/radeon/radeon_acpi.c 2017-07-03 01:07:02.000000000 +0200
+++ linux-4.12/drivers/gpu/drm/radeon/radeon_acpi.c 2017-07-30 12:58:19.074282660 +0200
@@ -351,7 +351,7 @@ static int radeon_atif_get_sbios_request
* 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;
--- linux-4.12.orig/drivers/gpu/drm/radeon/radeon_acpi.h 2017-07-03 01:07:02.000000000 +0200
+++ linux-4.12/drivers/gpu/drm/radeon/radeon_acpi.h 2017-07-30 12:57:41.427802420 +0200
@@ -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
--
Jean Delvare
SUSE L3 Support
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-30 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-30 11:05 [PATCH] drm/radeon: Make radeon_atif_handler static Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.