diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-01-06 19:28:45 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-01-07 20:45:36 +0400 |
commit | 248a6c4ae32cefdccbe5a014637f3cf2a97740f6 (patch) | |
tree | a8ee7fb3d002c140f9961311ef817e57fe28d41f /drivers/gpu/drm/radeon/radeon_gem.c | |
parent | 5520345fb91412fba48e4b7f5514c19f6234d963 (diff) | |
download | linux-248a6c4ae32cefdccbe5a014637f3cf2a97740f6.tar.xz |
drivers: gpu: Mark function as static in radeon_gem.c
Mark function radeon_gem_set_domain() as static in
drm/radeon/radeon_gem.c because it is not used outside this file.
This eliminates the following warning in drm/radeon/radeon_gem.c:
drivers/gpu/drm/radeon/radeon_gem.c:89:5: warning: no previous prototype for ‘radeon_gem_set_domain’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_gem.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_gem.c b/drivers/gpu/drm/radeon/radeon_gem.c index 805c5e566b9a..b96c819024b3 100644 --- a/drivers/gpu/drm/radeon/radeon_gem.c +++ b/drivers/gpu/drm/radeon/radeon_gem.c @@ -86,7 +86,7 @@ retry: return 0; } -int radeon_gem_set_domain(struct drm_gem_object *gobj, +static int radeon_gem_set_domain(struct drm_gem_object *gobj, uint32_t rdomain, uint32_t wdomain) { struct radeon_bo *robj; |