diff mbox

drm/amdgpu: Fix dce_v6_0_disable_dce warning

Message ID 20170730132614.65f92378@endymion (mailing list archive)
State New, archived
Headers show

Commit Message

Jean Delvare July 30, 2017, 11:26 a.m. UTC
Include a missing header to get rid of the following warning:

drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:521:6: warning: no previous prototype for 'dce_v6_0_disable_dce' [-Wmissing-prototypes]
 void dce_v6_0_disable_dce(struct amdgpu_device *adev)
      ^

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/dce_v6_0.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Alex Deucher July 31, 2017, 8:17 p.m. UTC | #1
On Sun, Jul 30, 2017 at 7:26 AM, Jean Delvare <jdelvare@suse.de> wrote:
> Include a missing header to get rid of the following warning:
>
> drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:521:6: warning: no previous prototype for 'dce_v6_0_disable_dce' [-Wmissing-prototypes]
>  void dce_v6_0_disable_dce(struct amdgpu_device *adev)
>       ^
>
> 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/dce_v6_0.c |    1 +
>  1 file changed, 1 insertion(+)
>
> --- linux-4.12.orig/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c       2017-07-30 13:19:50.546603215 +0200
> +++ linux-4.12/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c    2017-07-30 13:21:20.083704388 +0200
> @@ -42,6 +42,7 @@
>  #include "dce/dce_6_0_d.h"
>  #include "dce/dce_6_0_sh_mask.h"
>  #include "gca/gfx_7_2_enum.h"
> +#include "dce_v6_0.h"
>  #include "si_enums.h"
>
>  static void dce_v6_0_set_display_funcs(struct amdgpu_device *adev);
>
>
> --
> Jean Delvare
> SUSE L3 Support
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

--- linux-4.12.orig/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c	2017-07-30 13:19:50.546603215 +0200
+++ linux-4.12/drivers/gpu/drm/amd/amdgpu/dce_v6_0.c	2017-07-30 13:21:20.083704388 +0200
@@ -42,6 +42,7 @@ 
 #include "dce/dce_6_0_d.h"
 #include "dce/dce_6_0_sh_mask.h"
 #include "gca/gfx_7_2_enum.h"
+#include "dce_v6_0.h"
 #include "si_enums.h"
 
 static void dce_v6_0_set_display_funcs(struct amdgpu_device *adev);