2013-07-05 11:25:35

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH -next] drm/radeon/dpm: Add missing #include <linux/seq_file.h>

ia64_defconfig:

drivers/gpu/drm/radeon/rv6xx_dpm.c: In function 'rv6xx_dpm_debugfs_print_current_performance_level':
drivers/gpu/drm/radeon/rv6xx_dpm.c:2041:3: error: implicit declaration of function 'seq_printf' [-Werror=implicit-function-declaration]

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
http://kisskb.ellerman.id.au/kisskb/buildresult/9068726/

drivers/gpu/drm/radeon/rv6xx_dpm.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/radeon/rv6xx_dpm.c b/drivers/gpu/drm/radeon/rv6xx_dpm.c
index 33705c5..0d09677 100644
--- a/drivers/gpu/drm/radeon/rv6xx_dpm.c
+++ b/drivers/gpu/drm/radeon/rv6xx_dpm.c
@@ -22,6 +22,7 @@
* Authors: Alex Deucher
*/

+#include <linux/seq_file.h>
#include "drmP.h"
#include "radeon.h"
#include "rv6xxd.h"
--
1.7.9.5


2013-07-05 13:01:55

by Deucher, Alexander

[permalink] [raw]
Subject: RE: [PATCH -next] drm/radeon/dpm: Add missing #include <linux/seq_file.h>

> -----Original Message-----
> From: Geert Uytterhoeven [mailto:[email protected]]
> Sent: Friday, July 05, 2013 7:25 AM
> To: Deucher, Alexander; David Airlie
> Cc: [email protected]; [email protected]; linux-
> [email protected]; Geert Uytterhoeven
> Subject: [PATCH -next] drm/radeon/dpm: Add missing #include
> <linux/seq_file.h>
>
> ia64_defconfig:
>
> drivers/gpu/drm/radeon/rv6xx_dpm.c: In function
> 'rv6xx_dpm_debugfs_print_current_performance_level':
> drivers/gpu/drm/radeon/rv6xx_dpm.c:2041:3: error: implicit declaration of
> function 'seq_printf' [-Werror=implicit-function-declaration]
>

Already fixed in:
http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=bf0936e196ec21b604106578043d4c14831f99e7

Alex

> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> http://kisskb.ellerman.id.au/kisskb/buildresult/9068726/
>
> drivers/gpu/drm/radeon/rv6xx_dpm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/radeon/rv6xx_dpm.c
> b/drivers/gpu/drm/radeon/rv6xx_dpm.c
> index 33705c5..0d09677 100644
> --- a/drivers/gpu/drm/radeon/rv6xx_dpm.c
> +++ b/drivers/gpu/drm/radeon/rv6xx_dpm.c
> @@ -22,6 +22,7 @@
> * Authors: Alex Deucher
> */
>
> +#include <linux/seq_file.h>
> #include "drmP.h"
> #include "radeon.h"
> #include "rv6xxd.h"
> --
> 1.7.9.5
>