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/radeon_device.c | |
parent | b9ce0afeef13b18b12caec476f1e6dd76f0f094b (diff) | |
download | op-kernel-dev-1109ca09b9e2f2766d64d037a88ea8816559b3b3.zip op-kernel-dev-1109ca09b9e2f2766d64d037a88ea8816559b3b3.tar.gz |
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/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 331a952..6fca11c 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -842,7 +842,7 @@ static unsigned int radeon_vga_set_decode(void *cookie, bool state) * Validates certain module parameters and updates * the associated values used by the driver (all asics). */ -void radeon_check_arguments(struct radeon_device *rdev) +static void radeon_check_arguments(struct radeon_device *rdev) { /* vramlimit must be a power of two */ switch (radeon_vram_limit) { |