diff options
author | Lauri Kasanen <cand@gmx.com> | 2012-08-31 13:43:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-09-20 13:10:41 -0400 |
commit | 1109ca09b9e2f2766d64d037a88ea8816559b3b3 (patch) | |
tree | b9e045fd634aa413f26bbe24e2e2e10642ecb11a /drivers/gpu/drm/radeon/rs690.c | |
parent | b9ce0afeef13b18b12caec476f1e6dd76f0f094b (diff) |
drm/radeon: Mark all possible functions / structs as static
Let's allow GCC to optimize better.
This exposed some five unused functions, but this patch doesn't remove them.
Signed-off-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/rs690.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rs690.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/rs690.c b/drivers/gpu/drm/radeon/rs690.c index 3b663fcfe061..5cd5aceb69fa 100644 --- a/drivers/gpu/drm/radeon/rs690.c +++ b/drivers/gpu/drm/radeon/rs690.c | |||
@@ -145,7 +145,7 @@ void rs690_pm_info(struct radeon_device *rdev) | |||
145 | rdev->pm.sideport_bandwidth.full = dfixed_div(rdev->pm.sideport_bandwidth, tmp); | 145 | rdev->pm.sideport_bandwidth.full = dfixed_div(rdev->pm.sideport_bandwidth, tmp); |
146 | } | 146 | } |
147 | 147 | ||
148 | void rs690_mc_init(struct radeon_device *rdev) | 148 | static void rs690_mc_init(struct radeon_device *rdev) |
149 | { | 149 | { |
150 | u64 base; | 150 | u64 base; |
151 | 151 | ||
@@ -224,7 +224,7 @@ struct rs690_watermark { | |||
224 | fixed20_12 sclk; | 224 | fixed20_12 sclk; |
225 | }; | 225 | }; |
226 | 226 | ||
227 | void rs690_crtc_bandwidth_compute(struct radeon_device *rdev, | 227 | static void rs690_crtc_bandwidth_compute(struct radeon_device *rdev, |
228 | struct radeon_crtc *crtc, | 228 | struct radeon_crtc *crtc, |
229 | struct rs690_watermark *wm) | 229 | struct rs690_watermark *wm) |
230 | { | 230 | { |
@@ -581,7 +581,7 @@ void rs690_mc_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v) | |||
581 | WREG32(R_000078_MC_INDEX, 0x7F); | 581 | WREG32(R_000078_MC_INDEX, 0x7F); |
582 | } | 582 | } |
583 | 583 | ||
584 | void rs690_mc_program(struct radeon_device *rdev) | 584 | static void rs690_mc_program(struct radeon_device *rdev) |
585 | { | 585 | { |
586 | struct rv515_mc_save save; | 586 | struct rv515_mc_save save; |
587 | 587 | ||