* [PATCH] drm/amdgpu: Make amdgpu_atif_handler static
@ 2017-07-30 11:11 Jean Delvare
2017-07-31 20:21 ` Alex Deucher
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2017-07-30 11:11 UTC (permalink / raw)
To: amd-gfx, dri-devel; +Cc: Alex Deucher, Christian König
There are no external users of function amdgpu_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/amd/amdgpu/amdgpu_acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-4.12.orig/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 2017-07-30 13:06:19.949418618 +0200
+++ linux-4.12/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 2017-07-30 13:07:14.949120591 +0200
@@ -289,7 +289,7 @@ static int amdgpu_atif_get_sbios_request
* 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;
--
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] 2+ messages in thread
* Re: [PATCH] drm/amdgpu: Make amdgpu_atif_handler static
2017-07-30 11:11 [PATCH] drm/amdgpu: Make amdgpu_atif_handler static Jean Delvare
@ 2017-07-31 20:21 ` Alex Deucher
0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2017-07-31 20:21 UTC (permalink / raw)
To: Jean Delvare
Cc: Alex Deucher, Maling list - DRI developers, amd-gfx list,
Christian König
On Sun, Jul 30, 2017 at 7:11 AM, Jean Delvare <jdelvare@suse.de> wrote:
> There are no external users of function amdgpu_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>
Applied. thanks!
Alex
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-4.12.orig/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 2017-07-30 13:06:19.949418618 +0200
> +++ linux-4.12/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 2017-07-30 13:07:14.949120591 +0200
> @@ -289,7 +289,7 @@ static int amdgpu_atif_get_sbios_request
> * 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;
>
>
> --
> Jean Delvare
> SUSE L3 Support
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-31 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-30 11:11 [PATCH] drm/amdgpu: Make amdgpu_atif_handler static Jean Delvare
2017-07-31 20:21 ` Alex Deucher
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.