diff options
author | Jean Delvare <jdelvare@suse.de> | 2017-07-30 13:05:24 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-15 14:46:07 -0400 |
commit | afe2068dfd665ec63445576d2759bef2d5b4e56c (patch) | |
tree | f06a9dde0f9364e4f87024da23c92fee3ada2a45 /drivers/gpu/drm/radeon | |
parent | 98c65108c5929f3349897ac937bd814b67c62147 (diff) | |
download | linux-stable-afe2068dfd665ec63445576d2759bef2d5b4e56c.tar.gz linux-stable-afe2068dfd665ec63445576d2759bef2d5b4e56c.tar.bz2 linux-stable-afe2068dfd665ec63445576d2759bef2d5b4e56c.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_acpi.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_acpi.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c index 6efbd65c929e..8d3251a10cd4 100644 --- a/drivers/gpu/drm/radeon/radeon_acpi.c +++ b/drivers/gpu/drm/radeon/radeon_acpi.c @@ -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; diff --git a/drivers/gpu/drm/radeon/radeon_acpi.h b/drivers/gpu/drm/radeon/radeon_acpi.h index 7af1977c2c68..35202a453e66 100644 --- a/drivers/gpu/drm/radeon/radeon_acpi.h +++ b/drivers/gpu/drm/radeon/radeon_acpi.h @@ -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 |