drm/amdgpu: Make amdgpu_atif_handler static
authorJean Delvare <[email protected]>
Sun, 30 Jul 2017 11:11:02 +0000 (13:11 +0200)
committerAlex Deucher <[email protected]>
Tue, 15 Aug 2017 18:46:08 +0000 (14:46 -0400)
There are no external users of function amdgpu_atif_handler so it can
be static.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c

index 9b93f795a77f9bdd8452bfc1a264e2041ab93c0f..57afad79f55d086b673cd6c61c688d532620a033 100644 (file)
@@ -289,7 +289,7 @@ out:
  * handles it.
  * Returns NOTIFY code
  */
-int amdgpu_atif_handler(struct amdgpu_device *adev,
+static int amdgpu_atif_handler(struct amdgpu_device *adev,
                        struct acpi_bus_event *event)
 {
        struct amdgpu_atif *atif = &adev->atif;