projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe2068
)
drm/amdgpu: Make amdgpu_atif_handler static
author
Jean Delvare
<
[email protected]
>
Sun, 30 Jul 2017 11:11:02 +0000
(13:11 +0200)
committer
Alex 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
index 9b93f795a77f9bdd8452bfc1a264e2041ab93c0f..57afad79f55d086b673cd6c61c688d532620a033 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
@@
-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;