Commit bf0936e1 authored by Mike Lothian's avatar Mike Lothian Committed by Alex Deucher

drm/radeon/dpm: fix compilation with certain versions of gcc

Add #include <linux/seq_file.h> to *_dpm.c files
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 71375929
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "ni_dpm.h" #include "ni_dpm.h"
#include "atom.h" #include "atom.h"
#include <linux/math64.h> #include <linux/math64.h>
#include <linux/seq_file.h>
#define MC_CG_ARB_FREQ_F0 0x0a #define MC_CG_ARB_FREQ_F0 0x0a
#define MC_CG_ARB_FREQ_F1 0x0b #define MC_CG_ARB_FREQ_F1 0x0b
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "r600_dpm.h" #include "r600_dpm.h"
#include "rv6xx_dpm.h" #include "rv6xx_dpm.h"
#include "atom.h" #include "atom.h"
#include <linux/seq_file.h>
static u32 rv6xx_scale_count_given_unit(struct radeon_device *rdev, static u32 rv6xx_scale_count_given_unit(struct radeon_device *rdev,
u32 unscaled_count, u32 unit); u32 unscaled_count, u32 unit);
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include "rv770_dpm.h" #include "rv770_dpm.h"
#include "cypress_dpm.h" #include "cypress_dpm.h"
#include "atom.h" #include "atom.h"
#include <linux/seq_file.h>
#define MC_CG_ARB_FREQ_F0 0x0a #define MC_CG_ARB_FREQ_F0 0x0a
#define MC_CG_ARB_FREQ_F1 0x0b #define MC_CG_ARB_FREQ_F1 0x0b
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "si_dpm.h" #include "si_dpm.h"
#include "atom.h" #include "atom.h"
#include <linux/math64.h> #include <linux/math64.h>
#include <linux/seq_file.h>
#define MC_CG_ARB_FREQ_F0 0x0a #define MC_CG_ARB_FREQ_F0 0x0a
#define MC_CG_ARB_FREQ_F1 0x0b #define MC_CG_ARB_FREQ_F1 0x0b
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "r600_dpm.h" #include "r600_dpm.h"
#include "cypress_dpm.h" #include "cypress_dpm.h"
#include "sumo_dpm.h" #include "sumo_dpm.h"
#include <linux/seq_file.h>
#define SUMO_MAX_DEEPSLEEP_DIVIDER_ID 5 #define SUMO_MAX_DEEPSLEEP_DIVIDER_ID 5
#define SUMO_MINIMUM_ENGINE_CLOCK 800 #define SUMO_MINIMUM_ENGINE_CLOCK 800
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "trinityd.h" #include "trinityd.h"
#include "r600_dpm.h" #include "r600_dpm.h"
#include "trinity_dpm.h" #include "trinity_dpm.h"
#include <linux/seq_file.h>
#define TRINITY_MAX_DEEPSLEEP_DIVIDER_ID 5 #define TRINITY_MAX_DEEPSLEEP_DIVIDER_ID 5
#define TRINITY_MINIMUM_ENGINE_CLOCK 800 #define TRINITY_MINIMUM_ENGINE_CLOCK 800
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment