drm/radeon/dpm: fix compilation with certain versions of gcc
authorMike Lothian <mike@fireburn.co.uk>
Tue, 2 Jul 2013 21:38:11 +0000 (17:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2013 22:32:01 +0000 (18:32 -0400)
Add #include <linux/seq_file.h> to *_dpm.c files

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ni_dpm.c
drivers/gpu/drm/radeon/rv6xx_dpm.c
drivers/gpu/drm/radeon/rv770_dpm.c
drivers/gpu/drm/radeon/si_dpm.c
drivers/gpu/drm/radeon/sumo_dpm.c
drivers/gpu/drm/radeon/trinity_dpm.c

index 8497ca6bb0b160cdd54d70d0faab2cc8b9f7480e..a4cb99c2da8562ce5334395bd96df1c90406692b 100644 (file)
@@ -28,6 +28,7 @@
 #include "ni_dpm.h"
 #include "atom.h"
 #include <linux/math64.h>
+#include <linux/seq_file.h>
 
 #define MC_CG_ARB_FREQ_F0           0x0a
 #define MC_CG_ARB_FREQ_F1           0x0b
index 33705c5c83690a1e888bd31f6eb45905b2a9cdad..8303de267ee5deb6c08ba03e7dfb36a1e82c84aa 100644 (file)
@@ -28,6 +28,7 @@
 #include "r600_dpm.h"
 #include "rv6xx_dpm.h"
 #include "atom.h"
+#include <linux/seq_file.h>
 
 static u32 rv6xx_scale_count_given_unit(struct radeon_device *rdev,
                                        u32 unscaled_count, u32 unit);
index 2436b5c7e66ece198343c37ee628b90df25773c0..9af464d48eaa0a9d1da7789329547660794cea1d 100644 (file)
@@ -29,6 +29,7 @@
 #include "rv770_dpm.h"
 #include "cypress_dpm.h"
 #include "atom.h"
+#include <linux/seq_file.h>
 
 #define MC_CG_ARB_FREQ_F0           0x0a
 #define MC_CG_ARB_FREQ_F1           0x0b
index 46e9fc56cee7826bdf4446cc184e54519ce242d8..a7e97cd05e96bc86ca209e0feeb380e4116a0ea9 100644 (file)
@@ -28,6 +28,7 @@
 #include "si_dpm.h"
 #include "atom.h"
 #include <linux/math64.h>
+#include <linux/seq_file.h>
 
 #define MC_CG_ARB_FREQ_F0           0x0a
 #define MC_CG_ARB_FREQ_F1           0x0b
index 68fefb916582aa729049e5f68c0639718fb563a5..bf187a5b3d589ca021d1e46c79174470510da1d6 100644 (file)
@@ -27,6 +27,7 @@
 #include "r600_dpm.h"
 #include "cypress_dpm.h"
 #include "sumo_dpm.h"
+#include <linux/seq_file.h>
 
 #define SUMO_MAX_DEEPSLEEP_DIVIDER_ID 5
 #define SUMO_MINIMUM_ENGINE_CLOCK 800
index 502d9153c4d58bd3151aed993f56b950ba2bf061..b02b5ad92121300fb6c25384e9dc5875c2da9c20 100644 (file)
@@ -26,6 +26,7 @@
 #include "trinityd.h"
 #include "r600_dpm.h"
 #include "trinity_dpm.h"
+#include <linux/seq_file.h>
 
 #define TRINITY_MAX_DEEPSLEEP_DIVIDER_ID 5
 #define TRINITY_MINIMUM_ENGINE_CLOCK 800